Package org.ddolib.ddo.core.mdd
Class Edge
java.lang.Object
org.ddolib.ddo.core.mdd.Edge
Represents an edge in a decision diagram that connects two nodes.
Each edge has a source node, an associated decision, and a weight. It is used to represent transitions between nodes in a decision diagram.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
origin
The source node of this edge. -
decision
The decision associated with this edge. -
weight
public double weightThe weight of the edge.
-
-
Constructor Details
-
Edge
Creates a new edge connecting a source node with a decision and a weight.- Parameters:
src- the source node of the edged- the decision taken to traverse this edgew- the weight of the edge
-
-
Method Details