V
- the graph vertex typeE
- the graph edge typepublic static class KolmogorovMinimumWeightPerfectMatching.DualSolution<V,E> extends Object
graph
Constructor and Description |
---|
DualSolution(Graph<V,E> graph,
Map<Set<V>,Double> dualVariables)
Constructs a new solution for the dual linear program
|
Modifier and Type | Method and Description |
---|---|
Map<Set<V>,Double> |
getDualVariables()
The mapping from sets of vertices of odd cardinality to their dual variables, which
represents a solution to the dual linear program
|
Graph<V,E> |
getGraph() |
public DualSolution(Graph<V,E> graph, Map<Set<V>,Double> dualVariables)
graph
- the graph on which the linear program is formulateddualVariables
- the mapping from sets of vertices of odd cardinality to their dual
variablesCopyright © 2018. All rights reserved.