This shows you the differences between two versions of the page.
|
embedding_clover [2010/06/28 10:34] mzatopek |
embedding_clover [2010/06/28 10:35] (current) mzatopek |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Transformation graph is both abstraction and class which performs some operation. Graph keeps track of all Nodes, Edges, metadata objects. It is also accompanied by class which enables reading the definition of graph from XML file and building everything dynamically. | Transformation graph is both abstraction and class which performs some operation. Graph keeps track of all Nodes, Edges, metadata objects. It is also accompanied by class which enables reading the definition of graph from XML file and building everything dynamically. | ||
| - | |||
| - | //TransformationGraph// class includes three important methods:\\ | ||
| - | |||
| - | * //init// -initializes all graph's components - Nodes & Edges | ||
| - | * //reset// -resets all graph's components, it is usefull if you run graph again - quicker than init method) - Nodes & Edges | ||
| - | * //run// -starts data processing - each Node is executed, its thread started | ||
| - | * //reset// - resets the graph //(and all its components)// so it can be executed again (e.g. for looping) | ||
| Part of the graph is also //WatchDog// (running as a separate thread) which plays a role of dispatcher who sees to all other components of the graph. | Part of the graph is also //WatchDog// (running as a separate thread) which plays a role of dispatcher who sees to all other components of the graph. | ||