public class NAryTreeNativeILPTail extends AbstractNAryTreeLPTail implements nl.tue.astar.FastLowerBoundTail
Modifier and Type | Field and Description |
---|---|
static int |
LPDerived |
static int |
LPSolved |
static int |
TailCreated |
estimate, PRECISION, variables
Constructor and Description |
---|
NAryTreeNativeILPTail(int estimate,
short[] variables,
boolean exact,
BasisHistory basisHistory) |
NAryTreeNativeILPTail(NAryTreeNativeILPDelegate delegate,
NAryTreeHead h,
int minCost,
BasisHistory basisHistory) |
Modifier and Type | Method and Description |
---|---|
void |
computeEstimate(nl.tue.astar.Delegate<? extends nl.tue.astar.Head,? extends nl.tue.astar.Tail> delegate,
nl.tue.astar.Head head,
int lastEstimate)
Starts the computation of the exact estimate on the first call.
|
BasisHistory |
getBasisHistory() |
AbstractNAryTreeLPTail |
getNewTail(AbstractNAryTreeDelegate<?> delegate,
NAryTreeHead h,
int minCost) |
AbstractNAryTreeLPTail |
getNewTail(int estimate,
short[] variables) |
<S> nl.tue.astar.Tail |
getNextTailFromStorage(nl.tue.astar.Delegate<? extends nl.tue.astar.Head,? extends nl.tue.astar.Tail> d,
nl.tue.storage.CompressedStore<S> store,
long index,
int modelMove,
int logMove,
int activity)
constructs the new tail based on the two operations from the old state,
which is stored in the given store at the given index.
|
boolean |
isExactEstimateKnown()
This method should return true if the exact estimate is known.
|
canComplete, getEstimate, getEstimatedCosts, getNextTail, getVariables, toString, toString, updateVariables
public static int LPSolved
public static int TailCreated
public static int LPDerived
public NAryTreeNativeILPTail(NAryTreeNativeILPDelegate delegate, NAryTreeHead h, int minCost, BasisHistory basisHistory)
public NAryTreeNativeILPTail(int estimate, short[] variables, boolean exact, BasisHistory basisHistory)
public <S> nl.tue.astar.Tail getNextTailFromStorage(nl.tue.astar.Delegate<? extends nl.tue.astar.Head,? extends nl.tue.astar.Tail> d, nl.tue.storage.CompressedStore<S> store, long index, int modelMove, int logMove, int activity) throws java.io.IOException
nl.tue.astar.Tail
getNextTailFromStorage
in interface nl.tue.astar.Tail
getNextTailFromStorage
in class AbstractNAryTreeLPTail
java.io.IOException
public AbstractNAryTreeLPTail getNewTail(int estimate, short[] variables)
getNewTail
in class AbstractNAryTreeLPTail
public AbstractNAryTreeLPTail getNewTail(AbstractNAryTreeDelegate<?> delegate, NAryTreeHead h, int minCost)
getNewTail
in class AbstractNAryTreeLPTail
public void computeEstimate(nl.tue.astar.Delegate<? extends nl.tue.astar.Head,? extends nl.tue.astar.Tail> delegate, nl.tue.astar.Head head, int lastEstimate)
nl.tue.astar.FastLowerBoundTail
computeEstimate
in interface nl.tue.astar.FastLowerBoundTail
public boolean isExactEstimateKnown()
nl.tue.astar.FastLowerBoundTail
isExactEstimateKnown
in interface nl.tue.astar.FastLowerBoundTail
public BasisHistory getBasisHistory()