nct.graph.util
Interface GraphRandomizer<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
- All Known Implementing Classes:
- DegreePreservingRandomizer, EdgeWeightShuffle, ThresholdRandomizer
public interface GraphRandomizer<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
A randomization interface. An implementing class should, in some way,
randomize the input graph. How the randomization occurs and inputs
needed for the randomization should be provided in the constructor of
the implementing class.
randomize
void randomize(Graph<NodeType,WeightType> g)
- The method used to randomize the graph.
- Parameters:
g
- The graph to be randomized.