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