Home
last modified time | relevance | path

Searched refs:SubGraph (Results 1 – 13 of 13) sorted by relevance

/external/srec/tools/grxmlcompile/
Dgrph.h43 int addSubGraph (SubGraph *subGraph);
44 int getSubGraphIndex (SubGraph *subGraph);
46 void BeginRule (SubGraph *subg);
47 void EndRule (SubGraph *subg);
48 void BeginItem (SubGraph *subg);
49 void BeginItemRepeat (SubGraph *subg, int min_count, int max_count);
50 void AddRuleRef (SubGraph *subg, int ruleNo);
51 void AddLabel (SubGraph *subg, int labNo);
52 void AddTag (SubGraph *subg, int tagNo);
53 void EndItem (SubGraph *subg);
[all …]
Dgr_iface.cpp30 int Graph::addSubGraph (SubGraph *sbGraph) in addSubGraph()
36 SubGraph **newSubGraph= new SubGraph * [numSubGraph+BLKSIZE]; in addSubGraph()
48 subGraph= new SubGraph * [BLKSIZE]; in addSubGraph()
76 int Graph::getSubGraphIndex (SubGraph *sGraph) in getSubGraphIndex()
86 void Graph::BeginRule (SubGraph *subg) in BeginRule()
95 void Graph::EndRule (SubGraph *subg) in EndRule()
104 void Graph::BeginItem (SubGraph *subg) in BeginItem()
113 void Graph::BeginItemRepeat (SubGraph *subg, int minCount, int maxCount) in BeginItemRepeat()
122 void Graph::AddRuleRef (SubGraph *subg, int ruleNo) in AddRuleRef()
132 void Graph::AddLabel (SubGraph *subg, int labNo) in AddLabel()
[all …]
Dgrxmldoc.h36 class SubGraph; variable
68 bool findSubGraph(std::string & s, SubGraph *&p_SubGraph);
72 bool findSubGraphIndex( SubGraph *p_SubGraph, std::string &s );
97 bool parseNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level );
98 bool beginNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level );
99 bool endNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level );
104 bool beginParseRuleNode( XMLNode &node, SubGraph *&p_SubGraph);
105 bool endParseRuleNode( XMLNode &node, SubGraph *&p_SubGraph );
106 bool beginItem( XMLNode &node, SubGraph *&p_SubGraph );
107 bool endItem( XMLNode &node, SubGraph *&p_SubGraph );
[all …]
Dsub_base.cpp29 SubGraph::SubGraph (SubGraph *baseG) in SubGraph() function in SubGraph
52 int SubGraph::NewVertexId () in NewVertexId()
57 void SubGraph::AllocateSpaceForArc () in AllocateSpaceForArc()
71 NUANArc *SubGraph::CreateArc (int iLabel, int oLabel, int from, int to) in CreateArc()
81 NUANArc *SubGraph::InheritArc (NUANArc *arcBase, int id) in InheritArc()
91 NUANArc *SubGraph::InheritReverseArc (NUANArc *arcBase, int id) in InheritReverseArc()
101 NUANArc *SubGraph::InheritReverseArcWithTag (NUANArc *arcBase, int id, int tagId) in InheritReverseArcWithTag()
112 NUANArc *SubGraph::CreateCopyWithOutput (NUANArc *arcBase, int id) in CreateCopyWithOutput()
122 void SubGraph::CopyFastArcs (SubGraph *subG, int startLoc, int endLoc, int offset, int headId, int … in CopyFastArcs()
141 void SubGraph::Print () in Print()
[all …]
Dsub_grph.cpp52 void SubGraph::pushScope () in pushScope()
64 void SubGraph::popScope () in popScope()
78 void SubGraph::BeginScope (int scopeType, int newArg1, int newArg2) in BeginScope()
110 void SubGraph::EndScope () in EndScope()
117 int SubGraph::ConnectLastScope (int beginScopeId, int endScopeId) in ConnectLastScope()
168 int SubGraph::CloseScope () in CloseScope()
244 int SubGraph::AddItem (int inputLabel, int tagLabel) in AddItem()
269 int SubGraph::AddTag (int tagLabel) in AddTag()
293 void SubGraph::ExpandRules (SubGraph **subList, int *lookupList, int numSubs) in ExpandRules()
322 void SubGraph::UpdateVertexCount (int startLoc) in UpdateVertexCount()
[all …]
Dsub_supp.cpp34 void SubGraph::SortLanguage () in SortLanguage()
51 void SubGraph::SortLanguageAtIndices (int begIx, int endIx) in SortLanguageAtIndices()
131 void SubGraph::SortLanguageAtSortIndices (int begIx, int endIx) in SortLanguageAtSortIndices()
204 int SubGraph::FindFromIndex (int element) in FindFromIndex()
229 void SubGraph::SortLanguageReverse () in SortLanguageReverse()
309 int SubGraph::FindToIndex (int element) in FindToIndex()
334 void SubGraph::UpdateSortForLanguage () in UpdateSortForLanguage()
339 bool SubGraph::CheckSort () in CheckSort()
348 bool SubGraph::CheckSortReverse () in CheckSortReverse()
359 void SubGraph::ClearDuplicateArcs () in ClearDuplicateArcs()
[all …]
Dgrxmldoc.cpp128 SubGraph *p_SubGraph; in parseGrammar()
142 bool GRXMLDoc::parseNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level ) in parseNode()
167 SubGraph *p_LocalSubGraph; in parseNode()
184 bool GRXMLDoc::beginNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level ) in beginNode()
277 bool GRXMLDoc::endNode( XMLNode &node, SubGraph *&p_SubGraph, const unsigned int level ) in endNode()
407 bool GRXMLDoc::beginParseRuleNode( XMLNode &node, SubGraph *&p_SubGraph) in beginParseRuleNode()
430 SubGraph *p_ExistingSubgraph; in beginParseRuleNode()
440 SubGraph *newGraph; in beginParseRuleNode()
461 bool GRXMLDoc::endParseRuleNode( XMLNode &node, SubGraph *&p_SubGraph ) in endParseRuleNode()
484 bool GRXMLDoc::processCDATA( XMLNode &node, SubGraph *&p_SubGraph ) in processCDATA()
[all …]
Dsub_min.cpp47 void SubGraph::ViewNode (int currId) in ViewNode()
63 bool SubGraph::EquivalenceTestForward (int firstId, int secondId, int *equivMap) in EquivalenceTestForward()
120 void SubGraph::IdentifyEquivalence (int *depthMap, int *equivMap) in IdentifyEquivalence()
157 void SubGraph::CheckForChangeAndResort (int currId, int *mapList) in CheckForChangeAndResort()
182 void SubGraph::DeterminizeAtVertex (int baseId, DetCache *cache) in DeterminizeAtVertex()
257 int SubGraph::PairwiseDeterminize (int baseId, int firstId, int fixStart, int secondId, in PairwiseDeterminize()
357 void SubGraph::MergeVertices (int newId, int firstId, int secondId) in MergeVertices()
457 void SubGraph::SetupVisitationCache () in SetupVisitationCache()
468 void SubGraph::ClearVisitationCache () in ClearVisitationCache()
474 void SubGraph::UpdateVisitationCache (int startNo) in UpdateVisitationCache()
[all …]
Dsub_phon.cpp31 void SubGraph::ExpandPhonemes ( GRXMLDoc &doc ) in ExpandPhonemes()
110 void SubGraph::AddLeftContexts () in AddLeftContexts()
133 void SubGraph::AddRightContexts () in AddRightContexts()
156 void SubGraph::ExpandToHMMs ( GRXMLDoc &doc ) in ExpandToHMMs()
208 void SubGraph::ExpandIntraWordSilence ( GRXMLDoc &doc ) in ExpandIntraWordSilence()
315 void SubGraph::ShiftOutputsToLeft () in ShiftOutputsToLeft()
325 void SubGraph::ReverseMarkArcs () in ReverseMarkArcs()
335 void SubGraph::ReverseMarkOutput (int currId, int initialId, int outId) in ReverseMarkOutput()
356 void SubGraph::MarkNodesByOutputAndClearArcs () in MarkNodesByOutputAndClearArcs()
409 void SubGraph::FinalProcessing (GRXMLDoc &doc) in FinalProcessing()
[all …]
Dsub_grph.h101 class SubGraph
105 SubGraph (char *name, int ruleNo) in SubGraph() function
127 SubGraph (SubGraph *baseG);
129 ~SubGraph () in ~SubGraph()
153 …void CopyFastArcs (SubGraph *subG, int startLoc, int endLoc, int offset, int headId, int newHeadId…
160 void ExpandRules (SubGraph **subList, int *lookupList, int numSubs);
Dnetw_dump.cpp32 void SubGraph::RemapForSortedOutput ( GRXMLDoc &p_Doc ) in RemapForSortedOutput()
44 void SubGraph::WriteForwardGraphFile( std::string & fileName, GRXMLDoc &p_Doc ) in WriteForwardGraphFile()
97 void SubGraph::WriteForwardGraphWithSemantic ( std::string & fileName, GRXMLDoc &p_Doc ) in WriteForwardGraphWithSemantic()
183 void SubGraph::WriteHMMGraphFile( std::string & fileName, GRXMLDoc &p_Doc ) in WriteHMMGraphFile()
266 void SubGraph::WritePhonemeGraphFile( std::string & fileName, GRXMLDoc &p_Doc ) in WritePhonemeGraphFile()
339 void SubGraph::PrintWithLabels( GRXMLDoc &p_Doc ) in PrintWithLabels()
Dhashmap.cpp185 template class HashMap<string, SubGraph* >;
Dnetw_arc.h32 friend class SubGraph;