Jadex 0.96-beta1

jadex.planlib
Class IterationDecider

java.lang.Object
  extended by jadex.planlib.IterationDecider
All Implemented Interfaces:
IIterationDecider

public class IterationDecider
extends Object
implements IIterationDecider

Default selector implementation for evaluating a set of proposals.


Field Summary
static int UNRESTRICTED
          The constant for specifiying that any number of negotiation round are ok.
 
Constructor Summary
IterationDecider(int max_iters)
          Create a new iteration decider.
 
Method Summary
 AgentIdentifier[] decideIteration(NegotiationRecord[] records)
          Decide about a new negotiation round.
 Object refineCFP(NegotiationRecord[] records)
          Refine the cfp.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNRESTRICTED

public static final int UNRESTRICTED
The constant for specifiying that any number of negotiation round are ok.

See Also:
Constant Field Values
Constructor Detail

IterationDecider

public IterationDecider(int max_iters)
Create a new iteration decider.

Parameters:
max_iters - The maximum number of iterations.
Method Detail

decideIteration

public AgentIdentifier[] decideIteration(NegotiationRecord[] records)
Decide about a new negotiation round.

Specified by:
decideIteration in interface IIterationDecider
Parameters:
records - The negotiation records.
Returns:
The next round participants.

refineCFP

public Object refineCFP(NegotiationRecord[] records)
Refine the cfp.

Specified by:
refineCFP in interface IIterationDecider
Parameters:
records - The negotiation records.
Returns:
The refined cfp.

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.