Class BaseExpression
- java.lang.Object
-
- com.gdblab.pathAlgebra.expressions.BaseExpression
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseExpression>
- Direct Known Subclasses:
BaseExpression.Paths0,BaseExpression.Paths1,BaseExpression.PathsStar
public abstract class BaseExpression extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<BaseExpression>
Base path expressions that extract paths from graph- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBaseExpression.PartialVisitor<R>Partial visitor overBaseExpressionwith a defaultBaseExpression.PartialVisitor.otherwise(com.gdblab.pathAlgebra.expressions.BaseExpression)branch.static classBaseExpression.Paths0Paths0(G): all paths of length 0 (nodes)static classBaseExpression.Paths1Paths1(G): all paths of length 1 (edges)static classBaseExpression.PathsStarPaths*(G): all paths in graph (infinite without restrictions)static interfaceBaseExpression.Visitor<R>Visitor overBaseExpression.
-
Field Summary
Fields Modifier and Type Field Description static NamePATHS_STARName of thecom.gdblab.pathAlgebra.expressions.BaseExpression.pathsStarfield.static NamePATHS0Name of thecom.gdblab.pathAlgebra.expressions.BaseExpression.paths0field.static NamePATHS1Name of thecom.gdblab.pathAlgebra.expressions.BaseExpression.paths1field.static NameTYPE_Name of thecom.gdblab.pathAlgebra.expressions.BaseExpressiontype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(BaseExpression.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thecom.gdblab.pathAlgebra.expressions.BaseExpressiontype.
-
PATHS0
public static final Name PATHS0
Name of thecom.gdblab.pathAlgebra.expressions.BaseExpression.paths0field.
-
PATHS1
public static final Name PATHS1
Name of thecom.gdblab.pathAlgebra.expressions.BaseExpression.paths1field.
-
PATHS_STAR
public static final Name PATHS_STAR
Name of thecom.gdblab.pathAlgebra.expressions.BaseExpression.pathsStarfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(BaseExpression.Visitor<R> visitor)
Dispatch tovisitor.
-
-