Commit bcf79843 authored by Julian Zobel's avatar Julian Zobel
Browse files

Renaming

parent 1b07a2e6
......@@ -54,7 +54,7 @@ public class InAreaRoamingTransitionStrategy extends AbstractAttractionBasedTran
@Override
public void addComponent(SimLocationActuator comp) {
this.roamingStates.put(comp, roamingTransitionState.TRANSITION);
AttractionPoint nextAP = getNewAttractionPoint(comp);
AttractionPoint nextAP = pickNewAttractionPoint(comp);
updateTargetAttractionPoint(comp, nextAP);
}
......@@ -119,7 +119,7 @@ public class InAreaRoamingTransitionStrategy extends AbstractAttractionBasedTran
}
private AttractionPoint getNewAttractionPoint(SimLocationActuator component) {
private AttractionPoint pickNewAttractionPoint(SimLocationActuator component) {
double score = rnd.nextDouble();
List<AttractionPoint> candidates = new LinkedList<>();
for (AttractionPoint ap : IAttractionGenerator.attractionPoints) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment