Package jadex.platform.service.registry
Class AutoConfigRegistryAgent.ResultCountTracker
- java.lang.Object
-
- jadex.platform.service.registry.AutoConfigRegistryAgent.ResultCountTracker
-
- Enclosing class:
- AutoConfigRegistryAgent
public class AutoConfigRegistryAgent.ResultCountTracker extends java.lang.Object
Helper class for tracking the results and deciding if too_less or many superpeers have been found.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
foundless
Counts how ofter less superpeers than necessary.protected int
foundmore
Counts how ofter more superpeers than necessary.protected java.util.List<java.lang.Integer>
resultcounts
The number of results in each round.
-
Constructor Summary
Constructors Constructor Description ResultCountTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AutoConfigRegistryAgent.Counting
addResultCount(int cnt)
Add a result count.java.lang.String
toString()
Get the string representation.
-
-
-
Method Detail
-
addResultCount
protected AutoConfigRegistryAgent.Counting addResultCount(int cnt)
Add a result count.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
-
-