de.cau.cs.kieler.klay.layered.p3order
Interface IConstraintResolver
- All Known Implementing Classes:
- ForsterConstraintResolver
public interface IConstraintResolver
Detects and resolves violated constraints.
- Rating

processConstraints
void processConstraints(List<NodeGroup> nodeGroups,
int layerIndex,
Random random,
Map<LNode,NodeGroup>[] singleNodeNodeGroups,
com.google.common.collect.Multimap<LNode,LNode> layoutUnits)
- Finds and handles violated constraints.
- Parameters:
nodeGroups
- the array of single-node vertices sorted by their barycenter values.layerIndex
- the layer index.random
- the random number generator.singleNodeNodeGroups
- a map of single-node NodeGroups for each layer.layoutUnits
- a map associating layout units with their respective members.