| Constructor and Description |
|---|
ImmutablePath(List<Edge> theEdges) |
ImmutablePath(List<Edge> theEdges,
BindingSet thePathStartBindings,
BindingSet thePathEndBindings) |
ImmutablePath(List<Edge> theEdges,
Value theWeight,
BindingSet thePathStartBindings,
BindingSet thePathEndBindings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Edge> |
getEdges()
Returns the edges of the path.
|
Value |
getEnd()
Returns the end node of the path.
|
BindingSet |
getPathEndBindings()
Returns variable bindings for the end pattern of the path, if exists
|
BindingSet |
getPathStartBindings()
Returns variable bindings for the start pattern of the path, if exists
|
Value |
getStart()
Returns the start node of the path.
|
Value |
getWeight() |
int |
hashCode() |
String |
toString() |
public ImmutablePath(List<Edge> theEdges, BindingSet thePathStartBindings, BindingSet thePathEndBindings)
public ImmutablePath(List<Edge> theEdges, Value theWeight, BindingSet thePathStartBindings, BindingSet thePathEndBindings)
public BindingSet getPathStartBindings()
PathgetPathStartBindings in interface Pathpublic BindingSet getPathEndBindings()
PathgetPathEndBindings in interface Pathpublic Value getStart()
PathgetEdges().get(0).getStart().public Value getEnd()
PathgetEdges().get(getEdge().size() - 1).getEnd().public List<Edge> getEdges()
Pathpublic Value getWeight()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.