GraphLib  2.0
une librairie C# pour l’exploitation de graphes en reconnaissance des formes
 All Classes Namespaces Functions Enumerations Enumerator Properties
Graphs.Edge Class Reference

Modélise un arc ou une arête d'un graphe. More...

Inheritance diagram for Graphs.Edge:
Graphs.GraphComponent

Public Member Functions

 Edge ()
 Initialise l'arc/arête avec les valeurs par défaut More...
 
 Edge (string id)
  More...
 
 Edge (string id, Node nodeSource, Node nodeTarget, Label label)
 Constructeur à utiliser lorsque l'arc/arête a un identifiant. More...
 
 Edge (Node nodeSource, Node nodeTarget, Label label)
 Constructeur à utiliser lorsqu'on ne souhaite pas d'identifiant pour l'arc/arête. More...
 
- Public Member Functions inherited from Graphs.GraphComponent
 GraphComponent (string id)
 

Properties

Node NodeSource [get, set]
 Noeud source de l'arc dans un graphe orienté. Lors d'un graphe non orienté source et target n'ont pas d'importance. More...
 
Node NodeTarget [get, set]
 Noeud de destination de l'arc dans un graphe orienté. Lors d'un graphe non orienté source et target n'ont pas d'importance. More...
 
- Properties inherited from Graphs.GraphComponent
Label Label [get, set]
  More...
 
bool IsNode [get, set]
 
string Id [get, set]
 
List< AttributeGXLAttributesGXL [get, set]
 

Detailed Description

Modélise un arc ou une arête d'un graphe.

Constructor & Destructor Documentation

Graphs.Edge.Edge ( )

Initialise l'arc/arête avec les valeurs par défaut

Id = null

Label = null

Graphs.Edge.Edge ( string  id)

Initialise l'arc/arête avec les valeurs par défaut

Id = null

Label = null

Graphs.Edge.Edge ( string  id,
Node  nodeSource,
Node  nodeTarget,
Label  label 
)

Constructeur à utiliser lorsque l'arc/arête a un identifiant.

Parameters
idIdentifiant de l'arc/arête
nodeSourceNoeud source de l'arc
nodeTargetNoeud de destination de l'arc
labelContient tous les attributs de l'arc/arête
Graphs.Edge.Edge ( Node  nodeSource,
Node  nodeTarget,
Label  label 
)

Constructeur à utiliser lorsqu'on ne souhaite pas d'identifiant pour l'arc/arête.

Parameters
nodeSourceNoeud source de l'arc
nodeTargetNoeud de destination de l'arc
labelContient tous les attributs de l'arc/arête

Property Documentation

Node Graphs.Edge.NodeSource
getset

Noeud source de l'arc dans un graphe orienté. Lors d'un graphe non orienté source et target n'ont pas d'importance.

Node Graphs.Edge.NodeTarget
getset

Noeud de destination de l'arc dans un graphe orienté. Lors d'un graphe non orienté source et target n'ont pas d'importance.


The documentation for this class was generated from the following file: