public interface WeightCalculator
HeuristicCycleRemovingAlgorithm or RecursiveCycleRemovingAlgorithm.
The weight calculator calculates the weight of edges, as well as the priority to assign to each edge when looking which
edge to remove next.| Modifier and Type | Interface and Description |
|---|---|
static class |
WeightCalculator.ConstrainedWeightCalculator |
static class |
WeightCalculator.UnweightedWeightCalculator |
static class |
WeightCalculator.WeightedWeightCalculator |
| Modifier and Type | Method and Description |
|---|---|
double |
getEdgeWeight(Edge edge)
Gets the weight of the given edge according to this calculator.
|
double |
getOrderWeight(Edge edge,
java.util.List<Cycle> cycles)
Gets the weight of the edge for ordering the most promising edges to remove.
|
double getEdgeWeight(Edge edge)
edge - The edge.double getOrderWeight(Edge edge, java.util.List<Cycle> cycles)
edge - The edge to check for.cycles - The list of cycles which were found in the graph.