nct.filter
Interface Filter<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
- All Known Implementing Classes:
- DuplicateThresholdFilter, SortFilter, UniqueCompatNodeFilter
public interface Filter<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
This provides the interface for a Filter type. The filters should simply
take in a Graph object, a List of SubGraphs, and return another List of
SubGraphs. These are meant to be post-processing steps.
filter
java.util.List<Graph<NodeType,WeightType>> filter(java.util.List<Graph<NodeType,WeightType>> solutions)
- This provides the basic foundation for filtering. Basic filter to be
written should include removing duplicate solutions, merging solutions,
and finding significant complexes. This function is defined NOT to
modify the solutions List.
- Parameters:
solutions
- the List of SubGraphs (solutions)
- Returns:
- a new List containing the solutions passing the filter