public class DefaultPlacementAlgorithm extends Object implements ConstraintPlacementAlgorithm
Constructor and Description |
---|
DefaultPlacementAlgorithm() |
Modifier and Type | Method and Description |
---|---|
void |
init(RMContext rmContext)
Initialize the Algorithm.
|
void |
place(ConstraintPlacementAlgorithmInput input,
ConstraintPlacementAlgorithmOutputCollector collector)
The Algorithm is expected to compute the placement of the provided
ConstraintPlacementAlgorithmInput and use the collector to aggregate
any output.
|
public void init(RMContext rmContext)
ConstraintPlacementAlgorithm
init
in interface ConstraintPlacementAlgorithm
rmContext
- RMContext.public void place(ConstraintPlacementAlgorithmInput input, ConstraintPlacementAlgorithmOutputCollector collector)
ConstraintPlacementAlgorithm
place
in interface ConstraintPlacementAlgorithm
input
- Input to the Algorithm.collector
- Collector for output of algorithm.Copyright © 2008–2020 Apache Software Foundation. All rights reserved.