nct.search
Interface SearchGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
- All Known Implementing Classes:
- ColorCodingPathSearch, CompatColorCodingPathSearch, CompatComplexSearch, NewComplexSearch
public interface SearchGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
This interface will provide an interface for all searching algorithms to be
used on a Graph object. Consequently, all searching algorithms should
implement this interface.
searchGraph
java.util.List<Graph<NodeType,WeightType>> searchGraph(Graph<NodeType,WeightType> graph,
ScoreModel<NodeType,WeightType> scoreObj)
- This method will be used to call a search algorithm on the given graph
object.
- Parameters:
graph
- The Graph object to searchscoreObj
- The ScoreModel object to use to score pathways in the graph
- Returns:
- a List of SubGraphs which are the solutions to this search