Class PathSemantics
- java.lang.Object
-
- com.gdblab.pathAlgebra.expressions.PathSemantics
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PathSemantics>
- Direct Known Subclasses:
PathSemantics.Acyclic,PathSemantics.Shortest,PathSemantics.Simple,PathSemantics.Trail,PathSemantics.Walk
public abstract class PathSemantics extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PathSemantics>
Path semantics for recursive operations- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPathSemantics.Acyclicstatic interfacePathSemantics.PartialVisitor<R>Partial visitor overPathSemanticswith a defaultPathSemantics.PartialVisitor.otherwise(com.gdblab.pathAlgebra.expressions.PathSemantics)branch.static classPathSemantics.Shorteststatic classPathSemantics.Simplestatic classPathSemantics.Trailstatic interfacePathSemantics.Visitor<R>Visitor overPathSemantics.static classPathSemantics.Walk
-
Field Summary
Fields Modifier and Type Field Description static NameACYCLICName of thecom.gdblab.pathAlgebra.expressions.PathSemantics.acyclicfield.static NameSHORTESTName of thecom.gdblab.pathAlgebra.expressions.PathSemantics.shortestfield.static NameSIMPLEName of thecom.gdblab.pathAlgebra.expressions.PathSemantics.simplefield.static NameTRAILName of thecom.gdblab.pathAlgebra.expressions.PathSemantics.trailfield.static NameTYPE_Name of thecom.gdblab.pathAlgebra.expressions.PathSemanticstype.static NameWALKName of thecom.gdblab.pathAlgebra.expressions.PathSemantics.walkfield.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(PathSemantics.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thecom.gdblab.pathAlgebra.expressions.PathSemanticstype.
-
WALK
public static final Name WALK
Name of thecom.gdblab.pathAlgebra.expressions.PathSemantics.walkfield.
-
TRAIL
public static final Name TRAIL
Name of thecom.gdblab.pathAlgebra.expressions.PathSemantics.trailfield.
-
ACYCLIC
public static final Name ACYCLIC
Name of thecom.gdblab.pathAlgebra.expressions.PathSemantics.acyclicfield.
-
SIMPLE
public static final Name SIMPLE
Name of thecom.gdblab.pathAlgebra.expressions.PathSemantics.simplefield.
-
SHORTEST
public static final Name SHORTEST
Name of thecom.gdblab.pathAlgebra.expressions.PathSemantics.shortestfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(PathSemantics.Visitor<R> visitor)
Dispatch tovisitor.
-
-