public class CPNCostBasedTreeNodeEnc extends AbstractCPNCostBasedTreeNode<CPNCostBasedTreeNodeEnc> implements java.lang.Comparable<CPNCostBasedTreeNodeEnc>
currEncMarking, currIndexOnTrace, latestStepType, parent, relatedStepTypeObj
Constructor and Description |
---|
CPNCostBasedTreeNodeEnc(int currIndexOnTrace,
int currEncMarking,
int currIndexOnAutomaton,
StepTypes latestStepTypes,
java.lang.Integer relatedStepTypeObject,
double cost,
CPNCostBasedTreeNodeEnc parent) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CPNCostBasedTreeNodeEnc other) |
boolean |
equals(java.lang.Object other) |
double |
getCost() |
double |
getCurrCost() |
int |
getCurrIndexOnAutomaton() |
void |
setCost(double cost) |
void |
setCurrCost(double currCost) |
void |
setCurrIndexOnAutomaton(int currIndexOnAutomaton) |
getCurrEncMarking, getCurrIndexOnTrace, getLatestStepType, getParent, getRelatedStepTypeObj, setCurrEncMarking, setCurrIndexOnTrace, setLatestStepType, setParent, setRelatedStepTypeObj
public CPNCostBasedTreeNodeEnc(int currIndexOnTrace, int currEncMarking, int currIndexOnAutomaton, StepTypes latestStepTypes, java.lang.Integer relatedStepTypeObject, double cost, CPNCostBasedTreeNodeEnc parent)
public double getCost()
public void setCost(double cost)
cost
- the cost to setpublic int getCurrIndexOnAutomaton()
public void setCurrIndexOnAutomaton(int currIndexOnAutomaton)
currIndexOnAutomaton
- the currIndexOnAutomaton to setpublic double getCurrCost()
public void setCurrCost(double currCost)
currCost
- the currCost to setpublic int compareTo(CPNCostBasedTreeNodeEnc other)
compareTo
in interface java.lang.Comparable<CPNCostBasedTreeNodeEnc>
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object