Searched refs:state_color (Results 1 - 2 of 2) sorted by relevance

/external/openfst/src/include/fst/
H A Ddfs-visit.h103 vector<char> state_color; // Fst state DFS status local
113 state_color.resize(nstates, kDfsWhite);
121 state_color[root] = kDfsGrey;
127 if (s >= state_color.size()) {
129 state_color.resize(nstates, kDfsWhite);
133 state_color[s] = kDfsBlack;
148 if (arc.nextstate >= state_color.size()) {
150 state_color.resize(nstates, kDfsWhite);
156 int next_color = state_color[arc.nextstate];
162 state_color[ar
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Ddfs-visit.h88 vector<char> state_color; // Fst state DFS status local
93 while ((StateId)state_color.size() < nstates)
94 state_color.push_back(kDfsWhite);
101 state_color[root] = kDfsGrey;
109 state_color[s] = kDfsBlack;
128 int next_color = state_color[arc.nextstate];
134 state_color[arc.nextstate] = kDfsGrey;
150 root < nstates && state_color[root] != kDfsWhite;

Completed in 3358 milliseconds