|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjmadem.DecisionData
public class DecisionData
Data structure holding all the information related to a specific decision problem.
| Field Summary | |
|---|---|
private java.util.Vector<jason.asSyntax.Atom> |
agents
Agents involved in the decision-making. |
private java.util.Vector<Allocation> |
allocations
Allocations being considered as solutions for the decision problem. |
private int |
id
Decision id |
private static int |
id_generator
Decision id generator |
private java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> |
personalWeights
Personal weights representing the internal attitude of the agent towards other individuals. |
private java.util.Vector<jason.asSyntax.Atom> |
utilityFunctions
Names of the utility functions being considered. |
private java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.util.Vector<java.lang.Float>> |
utilityValues
Utility values received from the agents involved in the decision. |
private java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> |
utilityWeights
Utility weights representing the importance given to each point of view in the multi-modal agent decision making. |
private Cuf |
welfare
Social welfare considered by the agent |
| Constructor Summary | |
|---|---|
DecisionData(java.util.Vector<jason.asSyntax.Atom> ags,
java.util.Vector<Allocation> allocs,
java.util.Vector<jason.asSyntax.Atom> uFuncs,
java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> pW,
java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> uW,
Cuf sw)
DecisionData constructor. |
|
| Method Summary | |
|---|---|
void |
addBid(java.lang.String bidder,
java.util.List<jason.asSyntax.Term> uValues)
Adds a bid to the MADeM decision data. |
boolean |
areAllBidsReceived()
Checks whether all agents have already bid and their bids have been received. |
java.util.Vector<jason.asSyntax.Atom> |
getAgents()
Returns the name of the agents involved in the decision. |
java.util.Vector<Allocation> |
getAllocations()
Returns the allocations considered as solutions for the decision problem. |
int |
getId()
Returns the identifier of the decision making. |
java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> |
getPersonalWeights()
Returns the personal weights for the agents involved in the decision. |
java.util.Vector<jason.asSyntax.Atom> |
getUtilityFunctions()
Returns the name of the utility functions used to express preference. |
java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.util.Vector<java.lang.Float>> |
getUtilityValues()
Returns the utility values received from the agents involved in the decision. |
java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> |
getUtilityWeights()
Returns the utility weights for the utility functions being used. |
Cuf |
getWelfare()
Returns the social welfare applied to solve the decision problem. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static int id_generator
private int id
private java.util.Vector<jason.asSyntax.Atom> agents
private java.util.Vector<Allocation> allocations
private java.util.Vector<jason.asSyntax.Atom> utilityFunctions
private java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> utilityWeights
private java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> personalWeights
private Cuf welfare
private java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.util.Vector<java.lang.Float>> utilityValues
| Constructor Detail |
|---|
DecisionData(java.util.Vector<jason.asSyntax.Atom> ags,
java.util.Vector<Allocation> allocs,
java.util.Vector<jason.asSyntax.Atom> uFuncs,
java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> pW,
java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> uW,
Cuf sw)
ags - names of the agents involved in the decisionallocs - allocations being considered as solutions for the decision problemuFuncs - names of the different utility functions to pay attention topW - personal weights to be applied over external preferencesuW - utility weights in the multi-modal decisionsw - type of social welfare being considered| Method Detail |
|---|
public int getId()
public void addBid(java.lang.String bidder,
java.util.List<jason.asSyntax.Term> uValues)
bidder - name of the bidder agentuValues - utility values obtained by the set utility functions
being considered for the different allocationspublic boolean areAllBidsReceived()
public java.util.Vector<jason.asSyntax.Atom> getAgents()
public java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> getPersonalWeights()
public java.util.Vector<Allocation> getAllocations()
public java.util.Vector<jason.asSyntax.Atom> getUtilityFunctions()
public java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.lang.Float> getUtilityWeights()
public Cuf getWelfare()
public java.util.concurrent.ConcurrentMap<jason.asSyntax.Atom,java.util.Vector<java.lang.Float>> getUtilityValues()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||