fr.lifl.genca.negotiation
Interface MicroAgent

All Known Subinterfaces:
MicroAgentEngagement, MicroAgentGoal
All Known Implementing Classes:
Engagement, Goal

public interface MicroAgent

A MicroAgent is responsible for the management of a negotiation process.

Version:
1
Author:
Philippe Mathieu

Method Summary
 void addContractInfo(java.lang.String info)
          to add information about the negotiation
 void delete(java.util.Vector contractsDeleted)
          method invoked when the confirmation of a contract implies the destruction of less important ones
 boolean equals(java.lang.Object o)
           
 java.lang.String getContractInfo()
          to get the information about the negotiation
 java.lang.String getInitiator()
          to get the initiator of the contract
 int[] getPlaces()
          returns the resources needed by the contract
 void wakeUp()
          to wake up the micro-agent when its negotiation process can begin
 

Method Detail

getPlaces

public int[] getPlaces()
returns the resources needed by the contract


wakeUp

public void wakeUp()
to wake up the micro-agent when its negotiation process can begin


delete

public void delete(java.util.Vector contractsDeleted)
method invoked when the confirmation of a contract implies the destruction of less important ones


getInitiator

public java.lang.String getInitiator()
to get the initiator of the contract


getContractInfo

public java.lang.String getContractInfo()
to get the information about the negotiation


addContractInfo

public void addContractInfo(java.lang.String info)
to add information about the negotiation


equals

public boolean equals(java.lang.Object o)