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)
ConstraintPlacementAlgorithminit in interface ConstraintPlacementAlgorithmrmContext - RMContext.public void place(ConstraintPlacementAlgorithmInput input, ConstraintPlacementAlgorithmOutputCollector collector)
ConstraintPlacementAlgorithmplace in interface ConstraintPlacementAlgorithminput - Input to the Algorithm.collector - Collector for output of algorithm.Copyright © 2008–2022 Apache Software Foundation. All rights reserved.