C# Class SharpNeat.View.Graph.CppnGraphPainter

Paints CPPNGraphs to a GDI+ Graphics object.
Inheritance: IOGraphPainter
Afficher le fichier Open project: colgreen/sharpneat

Méthodes publiques

Méthode Description
CppnGraphPainter ( IActivationFunctionLibrary activationFnLibrary ) : System

Construct with the provided activation function library. This must be the same library used by the genomes/graphs being painted. A legend of the activation functions is shown and the nodes are color coded to indicate the activation function at each node.

Méthodes protégées

Méthode Description
PaintNetwork ( IOGraph graph, PaintState state ) : void

Paints the provided IOGraph onto the provided GDI+ Graphics drawing surface.

PaintNode ( GraphNode node, PaintState state ) : void

Override that paints nodes with a fill color that represents each node's activation function.

Private Methods

Méthode Description
CppnGraphPainter ( ) : System
PaintLegend ( PaintState state ) : void

Method Details

CppnGraphPainter() public méthode

Construct with the provided activation function library. This must be the same library used by the genomes/graphs being painted. A legend of the activation functions is shown and the nodes are color coded to indicate the activation function at each node.
public CppnGraphPainter ( IActivationFunctionLibrary activationFnLibrary ) : System
activationFnLibrary IActivationFunctionLibrary
Résultat System

PaintNetwork() protected méthode

Paints the provided IOGraph onto the provided GDI+ Graphics drawing surface.
protected PaintNetwork ( IOGraph graph, PaintState state ) : void
graph IOGraph
state PaintState
Résultat void

PaintNode() protected méthode

Override that paints nodes with a fill color that represents each node's activation function.
protected PaintNode ( GraphNode node, PaintState state ) : void
node GraphNode
state PaintState
Résultat void