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.ObjectHelper 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 intfoundlessCounts how ofter less superpeers than necessary.protected intfoundmoreCounts how ofter more superpeers than necessary.protected java.util.List<java.lang.Integer>resultcountsThe 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.CountingaddResultCount(int cnt)Add a result count.java.lang.StringtoString()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:
toStringin classjava.lang.Object
-
-