
public abstract class OSQLFunctionPathFinder extends OSQLFunctionMathAbstract
| Modifier and Type | Field and Description |
|---|---|
protected OCommandContext |
context |
protected OrientBaseGraph |
db |
protected java.util.Map<ORID,java.lang.Float> |
distance |
protected static float |
MIN |
protected OrientVertex |
paramDestinationVertex |
protected com.tinkerpop.blueprints.Direction |
paramDirection |
protected OrientVertex |
paramSourceVertex |
protected java.util.Map<ORID,OrientVertex> |
predecessors |
protected java.util.Set<OrientVertex> |
unSettledNodes |
configuredParametersmaxParams, minParams, name| Constructor and Description |
|---|
OSQLFunctionPathFinder(java.lang.String iName,
int iMinParams,
int iMaxParams) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
aggregateResults() |
protected boolean |
continueTraversing() |
protected java.util.LinkedList<OrientVertex> |
execute(OCommandContext iContext) |
protected void |
findMinimalDistances(OrientVertex node) |
protected abstract float |
getDistance(OrientVertex node,
OrientVertex target) |
protected OrientVertex |
getMinimum(java.util.Set<OrientVertex> vertexes) |
protected java.util.Set<OrientVertex> |
getNeighbors(com.tinkerpop.blueprints.Vertex node) |
java.util.LinkedList<OrientVertex> |
getPath() |
java.lang.Object |
getResult() |
protected float |
getShortestDistance(OrientVertex destination) |
protected boolean |
isNotSettled(OrientVertex vertex) |
protected boolean |
isVariableEdgeWeight() |
protected float |
sumDistances(float iDistance1,
float iDistance2) |
getClassWithMorePrecision, getContextValue, shouldMergeDistributedResultconfig, toStringfilterResult, getDistributedStorageId, getMaxParams, getMinParams, getName, getSingleItem, getSingleProperty, mergeDistributedResult, returnDistributedResult, setResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecute, getSyntaxprotected OrientBaseGraph db
protected java.util.Set<OrientVertex> unSettledNodes
protected java.util.Map<ORID,OrientVertex> predecessors
protected java.util.Map<ORID,java.lang.Float> distance
protected OrientVertex paramSourceVertex
protected OrientVertex paramDestinationVertex
protected com.tinkerpop.blueprints.Direction paramDirection
protected OCommandContext context
protected static final float MIN
public OSQLFunctionPathFinder(java.lang.String iName,
int iMinParams,
int iMaxParams)
protected java.util.LinkedList<OrientVertex> execute(OCommandContext iContext)
protected boolean isVariableEdgeWeight()
public java.util.LinkedList<OrientVertex> getPath()
public boolean aggregateResults()
aggregateResults in interface OSQLFunctionaggregateResults in class OSQLFunctionMathAbstractpublic java.lang.Object getResult()
getResult in interface OSQLFunctiongetResult in class OSQLFunctionAbstractprotected void findMinimalDistances(OrientVertex node)
protected java.util.Set<OrientVertex> getNeighbors(com.tinkerpop.blueprints.Vertex node)
protected OrientVertex getMinimum(java.util.Set<OrientVertex> vertexes)
protected boolean isNotSettled(OrientVertex vertex)
protected boolean continueTraversing()
protected float getShortestDistance(OrientVertex destination)
protected float sumDistances(float iDistance1,
float iDistance2)
protected abstract float getDistance(OrientVertex node, OrientVertex target)
Copyright © 2009–2023 OrientDB. All rights reserved.