
OSQLFunctionAstar
instead@Deprecated public class OSQLFunctionAstar extends OSQLFunctionHeuristicPathFinderAbstract
The first parameter is source record. The second parameter is destination record. The third parameter is a name of property that represents 'weight' and fourth represnts the map of options.
If property is not defined in edge or is null, distance between vertexes are 0 .
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<OrientVertex,OrientVertex> |
cameFrom
Deprecated.
|
protected java.util.Set<OrientVertex> |
closedSet
Deprecated.
|
protected java.util.Map<OrientVertex,java.lang.Double> |
fScore
Deprecated.
|
protected java.util.Map<OrientVertex,java.lang.Double> |
gScore
Deprecated.
|
static java.lang.String |
NAME
Deprecated.
|
protected java.util.PriorityQueue<OrientVertex> |
open
Deprecated.
|
context, db, MIN, PARAM_CUSTOM_HEURISTIC_FORMULA, PARAM_D_FACTOR, PARAM_DIRECTION, PARAM_EDGE_TYPE_NAMES, PARAM_EMPTY_IF_MAX_DEPTH, PARAM_HEURISTIC_FORMULA, PARAM_MAX_DEPTH, PARAM_PARALLEL, PARAM_TIE_BREAKER, PARAM_VERTEX_AXIS_NAMES, paramCustomHeuristicFormula, paramDestinationVertex, paramDFactor, paramDirection, paramEdgeTypeNames, paramEmptyIfMaxDepth, paramHeuristicFormula, paramMaxDepth, paramParallel, paramSourceVertex, paramTieBreaker, paramVertexAxisNames, rnd, routeconfiguredParametersmaxParams, minParams, name| Constructor and Description |
|---|
OSQLFunctionAstar()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
aggregateResults()
Deprecated.
|
java.util.LinkedList<OrientVertex> |
execute(java.lang.Object iThis,
OIdentifiable iCurrentRecord,
java.lang.Object iCurrentResult,
java.lang.Object[] iParams,
OCommandContext iContext)
Deprecated.
|
protected double |
getDistance(OrientEdge edge)
Deprecated.
|
protected double |
getDistance(OrientVertex node,
OrientVertex parent,
OrientVertex target)
Deprecated.
|
protected double |
getHeuristicCost(OrientVertex node,
OrientVertex parent,
OrientVertex target)
Deprecated.
|
protected java.util.Set<OrientEdge> |
getNeighborEdges(OrientVertex node)
Deprecated.
|
java.lang.Object |
getResult()
Deprecated.
|
java.lang.String |
getSyntax()
Deprecated.
|
protected boolean |
isVariableEdgeWeight()
Deprecated.
|
booleanOrDefault, doubleOrDefault, getCustomHeuristicCost, getDiagonalHeuristicCost, getDiagonalHeuristicCost, getEuclideanHeuristicCost, getEuclideanHeuristicCost, getEuclideanNoSQRHeuristicCost, getEuclideanNoSQRHeuristicCost, getManhatanHeuristicCost, getManhatanHeuristicCost, getMaxAxisHeuristicCost, getMaxAxisHeuristicCost, getNeighbors, getPath, getSimpleHeuristicCost, getTieBreakingHeuristicCost, getTieBreakingHeuristicCost, getTieBreakingRandomHeuristicCost, integerOrDefault, longOrDefault, stringArray, stringOrDefaultgetClassWithMorePrecision, getContextValue, shouldMergeDistributedResultconfig, toStringfilterResult, getDistributedStorageId, getMaxParams, getMinParams, getName, getSingleItem, getSingleProperty, mergeDistributedResult, returnDistributedResult, setResultpublic static final java.lang.String NAME
protected java.util.Set<OrientVertex> closedSet
protected java.util.Map<OrientVertex,OrientVertex> cameFrom
protected java.util.Map<OrientVertex,java.lang.Double> gScore
protected java.util.Map<OrientVertex,java.lang.Double> fScore
protected java.util.PriorityQueue<OrientVertex> open
public java.util.LinkedList<OrientVertex> execute(java.lang.Object iThis, OIdentifiable iCurrentRecord, java.lang.Object iCurrentResult, java.lang.Object[] iParams, OCommandContext iContext)
protected java.util.Set<OrientEdge> getNeighborEdges(OrientVertex node)
public java.lang.String getSyntax()
public java.lang.Object getResult()
getResult in interface OSQLFunctiongetResult in class OSQLFunctionAbstractprotected double getDistance(OrientVertex node, OrientVertex parent, OrientVertex target)
getDistance in class OSQLFunctionHeuristicPathFinderAbstractprotected double getDistance(OrientEdge edge)
public boolean aggregateResults()
aggregateResults in interface OSQLFunctionaggregateResults in class OSQLFunctionMathAbstractprotected double getHeuristicCost(OrientVertex node, OrientVertex parent, OrientVertex target)
getHeuristicCost in class OSQLFunctionHeuristicPathFinderAbstractprotected boolean isVariableEdgeWeight()
isVariableEdgeWeight in class OSQLFunctionHeuristicPathFinderAbstractCopyright © 2009–2023 OrientDB. All rights reserved.