| ||||||||||||||||||||||||
tlp::Algorithm Class Reference This abstract class describes a basic algorithm plugin. It inherits on WithParameter and WithDependency for convenience. Basic functionality consists in checking the algorithm can run on the current Graph (e.g. is the graph simple ?), running the algorithm and resetting the algorithm to re-apply it. The algorithm can and should report progress and which task it is performing if it is decomposed in multiple phases (e.g. layouting the graph, coloring it, ...). More...
Inheritance diagram for tlp::Algorithm:
Collaboration diagram for tlp::Algorithm:
Public Member Functions
Public Attributes
Detailed DescriptionThis abstract class describes a basic algorithm plugin. It inherits on WithParameter and WithDependency for convenience. Basic functionality consists in checking the algorithm can run on the current Graph (e.g. is the graph simple ?), running the algorithm and resetting the algorithm to re-apply it. The algorithm can and should report progress and which task it is performing if it is decomposed in multiple phases (e.g. layouting the graph, coloring it, ...). Constructor & Destructor Documentation
Constructs an algorithm and initializes members from the AlgorithmContext.
Member Function Documentation
Checks if the algorithm can run on the context it was given.
Runs the algorithm on the context that was specified during construction.
Member Data DocumentationA DataSet containing parameters for this algorithm, if any. Retrieved from the context at construction. The graph this algorithm will be run on. Retrieved from the context at construction. A PluginProgress to give feedback to the user, retrieved from the context. It can be a NULL pointer, so use with caution. |
Tulip Software by LaBRI Visualization Team 2001 - 2012 |