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

Public Member Functions

 EditPath ()
 Basic constructor More...
 
 EditPath (List< Node > _Node1, List< Node > _Node2, List< Edge > _Edge1, List< Edge > _Edge2)
 This constructor fill node and edge lists corresponding to Graph1 and Graph2 More...
 
 EditPath (EditPath _EditPath)
 Copy constructor More...
 
void addSubstitution (Node _Node1, Node _Node2)
 Add a substitution between Graph1 node and Graph2 node in operation list. Edge operations caused by this substition are calculated and added in edgeOperation list. More...
 
void addDeletion (Node _Node1)
 Add a deletion of Graph1 node in operation list. Edge operations caused by this deletion are calculated and added in edgeOperation list. More...
 
void addInsertion (Node _Node2)
 Add an insertion of Graph2 node in operation list. Edge operations caused by this deletion are calculated and added in edgeOperation list. More...
 
String printNodeOperations ()
 Return a string of the operation List More...
 
String printEdgeOperations ()
 Return a string of the edgeOperation List More...
 

Properties

List< Node[]> Operations [get, set]
 
List< Edge[]> EdgeOperations [get, set]
 
double Cost [get, set]
 
double Hp [get, set]
 
List< NodeNode1 [get, set]
 
List< NodeNode2 [get, set]
 
List< EdgeEdge1 [get, set]
 
List< EdgeEdge2 [get, set]
 

Constructor & Destructor Documentation

Matching.EditPath.EditPath ( )

Basic constructor

Matching.EditPath.EditPath ( List< Node _Node1,
List< Node _Node2,
List< Edge _Edge1,
List< Edge _Edge2 
)

This constructor fill node and edge lists corresponding to Graph1 and Graph2

Parameters
_Node1List of Graph1 nodes
_Node2List of Graph2 nodes
_Edge1List of Graph1 edges
_Edge2List of Graph2 edges
Matching.EditPath.EditPath ( EditPath  _EditPath)

Copy constructor

Parameters
_EditPathEditPath to copy

Member Function Documentation

void Matching.EditPath.addDeletion ( Node  _Node1)

Add a deletion of Graph1 node in operation list. Edge operations caused by this deletion are calculated and added in edgeOperation list.

Parameters
_Node1Graph1 node to delete
void Matching.EditPath.addInsertion ( Node  _Node2)

Add an insertion of Graph2 node in operation list. Edge operations caused by this deletion are calculated and added in edgeOperation list.

Parameters
_Node2Graph2 node to insert
void Matching.EditPath.addSubstitution ( Node  _Node1,
Node  _Node2 
)

Add a substitution between Graph1 node and Graph2 node in operation list. Edge operations caused by this substition are calculated and added in edgeOperation list.

Parameters
_Node1Graph1 node to substitute
_Node2Graph2 node to substitute
String Matching.EditPath.printEdgeOperations ( )

Return a string of the edgeOperation List

Returns
String Matching.EditPath.printNodeOperations ( )

Return a string of the operation List

Returns

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