H
- T
- public interface AStarThread<H extends nl.tue.astar.Head,T extends nl.tue.astar.Tail>
Modifier and Type | Interface and Description |
---|---|
static class |
AStarThread.ASynchronousMoveSorting
Enumeration to set the sorting of moves.
|
static interface |
AStarThread.Canceller |
static class |
AStarThread.CPUEfficient<H extends nl.tue.astar.Head,T extends nl.tue.astar.Tail> |
static class |
AStarThread.MemoryEfficient<H extends nl.tue.astar.Head,T extends nl.tue.astar.Tail> |
static class |
AStarThread.Type |
Modifier and Type | Field and Description |
---|---|
static int |
NOMOVE |
Modifier and Type | Method and Description |
---|---|
nl.tue.astar.Delegate<H,T> |
getDelegate()
returns the delegate used for determining the possible moves during
replay.
|
nl.tue.astar.Record |
getOptimalRecord(AStarThread.Canceller c)
Returns a Record for an optimal alignment.
|
nl.tue.astar.Record |
getOptimalRecord(AStarThread.Canceller c,
int stopAt)
Returns a Record for an optimal alignment.
|
int |
getQueuedStateCount()
Returns the number of nodes queueud.
|
AStarThread.ASynchronousMoveSorting |
getSorting() |
nl.tue.astar.Trace |
getTrace()
Returns the trace for which this AStarThread was instantiated.
|
AStarThread.Type |
getType()
Returns the type of AStar used
|
int |
getVisitedStateCount()
Returns the number of visited states.
|
void |
setASynchronousMoveSorting(AStarThread.ASynchronousMoveSorting sorting)
When aligning a trace with a model, any moves between two synchronous
moves can be sorted.
|
void |
setEpsilon(double epsilon)
Set epsilon for the weighted variants of A Star
|
void |
setType(AStarThread.Type type)
Sets the type of the AStar algorithm.
|
boolean |
wasReliable()
After a call to run(), this method returns true if the returned Record
yields the optimal result.
|
static final int NOMOVE
nl.tue.astar.Trace getTrace()
nl.tue.astar.Delegate<H,T> getDelegate()
nl.tue.astar.Record getOptimalRecord(AStarThread.Canceller c) throws nl.tue.astar.AStarException
c
- java.lang.Exception
nl.tue.astar.AStarException
nl.tue.astar.Record getOptimalRecord(AStarThread.Canceller c, int stopAt) throws nl.tue.astar.AStarException
c
- java.lang.Exception
nl.tue.astar.AStarException
int getQueuedStateCount()
int getVisitedStateCount()
void setASynchronousMoveSorting(AStarThread.ASynchronousMoveSorting sorting)
sorting
- AStarThread.ASynchronousMoveSorting getSorting()
boolean wasReliable()
void setType(AStarThread.Type type)
type
- AStarThread.Type getType()
void setEpsilon(double epsilon)
epsilon
-