Tulip  5.1.0
Large graphs analysis and drawing
tlp::ColorAlgorithm Class Reference

#include <PropertyAlgorithm.h>

+ Inheritance diagram for tlp::ColorAlgorithm:
+ Collaboration diagram for tlp::ColorAlgorithm:

Public Member Functions

virtual std::string category () const
 
- Public Member Functions inherited from tlp::TemplateAlgorithm< tlp::ColorProperty >
 TemplateAlgorithm (const tlp::PluginContext *context)
 
- Public Member Functions inherited from tlp::PropertyAlgorithm
 PropertyAlgorithm (const tlp::PluginContext *context)
 
- Public Member Functions inherited from tlp::Algorithm
 Algorithm (const PluginContext *context)
 
virtual bool check (std::string &)
 
std::string icon () const
 
virtual bool run ()=0
 
- Public Member Functions inherited from tlp::Plugin
virtual std::string author () const =0
 
virtual std::string date () const =0
 
virtual std::string group () const =0
 
virtual int id () const
 
virtual std::string info () const =0
 
virtual std::string major () const
 
virtual std::string minor () const
 
virtual std::string name () const =0
 
virtual std::string programmingLanguage () const
 
virtual std::string release () const =0
 
virtual std::string tulipMajor () const
 
virtual std::string tulipMinor () const
 
virtual std::string tulipRelease () const =0
 
- Public Member Functions inherited from tlp::WithParameter
template<typename T >
void addInOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true, const std::string &valuesDescription=std::string())
 
template<typename T >
void addInParameter (const std::string &name, const std::string &help, const std::string &defaultValue, bool isMandatory=true, const std::string &valuesDescription=std::string())
 
template<typename T >
void addOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true, const std::string &valuesDescription=std::string())
 
template<typename T >
void addParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true)
 
const tlp::ParameterDescriptionListgetParameters () const
 
bool inputRequired () const
 
- Public Member Functions inherited from tlp::WithDependency
void addDependency (const char *name, const char *release)
 
const std::list< Dependency > & dependencies () const
 

Protected Member Functions

 ColorAlgorithm (const tlp::PluginContext *)
 

Additional Inherited Members

- Public Attributes inherited from tlp::TemplateAlgorithm< tlp::ColorProperty >
tlp::ColorPropertyresult
 
- Public Attributes inherited from tlp::Algorithm
DataSetdataSet
 
Graphgraph
 
PluginProgresspluginProgress
 
- Protected Attributes inherited from tlp::WithDependency
std::list< Dependency_dependencies
 

Detailed Description

The color algorithm takes a graph as input and output its results as a tlp::ColorProperty.

Definition at line 53 of file PropertyAlgorithm.h.

Member Function Documentation

virtual std::string tlp::ColorAlgorithm::category ( ) const
inlinevirtual

A string identifier for a plugin used for categorization purposes.

Returns
std::string the category of the plugin.

Reimplemented from tlp::PropertyAlgorithm.

Definition at line 57 of file PropertyAlgorithm.h.