librime: rime::DynamicProgramming Struct Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Types | Static Public Member Functions | List of all members
rime::DynamicProgramming Struct Reference

## Public Types
using | State = Line

## Static Public Member Functions
static void | Initiate (State &initial_state)
static void | ForEachCandidate (const State &state, Poet::Compare compare, UpdateLineCandidate update)
static Line & | BestLineToUpdate (State &state, const Line &new_line)
static const Line & | BestLineInState (const State &final_state, Poet::Compare compare)

## Member Typedef Documentation

## ◆ State

using rime::DynamicProgramming::State = Line

## Member Function Documentation

## ◆ BestLineInState()

const Line & rime::DynamicProgramming::BestLineInState | ( | const State & | final_state,
|  | Poet::Compare | compare )
| inlinestatic

## ◆ BestLineToUpdate()

Line & rime::DynamicProgramming::BestLineToUpdate | ( | State & | state,
|  | const Line & | new_line )
| inlinestatic

## ◆ ForEachCandidate()

void rime::DynamicProgramming::ForEachCandidate | ( | const State & | state,
|  | Poet::Compare | compare,
|  | UpdateLineCandidate | update )
| inlinestatic

## ◆ Initiate()

void rime::DynamicProgramming::Initiate | ( | State & | initial_state | ) |
| inlinestatic

The documentation for this struct was generated from the following file:

- poet.cc