Package provided.owlMaps.general
Interface IPathsAlgo<R,E,P>
- Type Parameters:
R- The return type of the visitor algorithmE- The type of element held by the hostP- The parameter type of the visitor algorithm.
- All Superinterfaces:
java.io.Serializable
public interface IPathsAlgo<R,E,P>
extends java.io.Serializable
Standard Visitor pattern visitors to use with IPaths objects.
- Author:
- swong
-
Method Summary
-
Method Details
-
pathCase
Visitor base case- Parameters:
host- The IPath hostparams- The vararg parameters for the base case- Returns:
- The return value of the processing
-
pathListCase
Visitor inductive case- Parameters:
host- The IPathList hostparams- The vararg parameters for the base case- Returns:
- The return value of the processing
-