|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface utilityFunctionInt
Interface for the utility functions invoked by MADeMAgArch agents. The code of every utility function must implement this interface.
IMPORTANT NOTE: All utility function names must start in lowercase due to Jason's misinterpretation of uppercase as variable terms.
Method Summary | |
---|---|
float |
computeUtility(java.lang.String auctioneer,
Allocation alloc,
MADeMAgArch agArch)
Computes the normalized utility value given to an allocation. |
java.lang.String |
getId()
Returns the name of the utility function |
Method Detail |
---|
java.lang.String getId()
float computeUtility(java.lang.String auctioneer, Allocation alloc, MADeMAgArch agArch) throws utilityFunctionException
auctioneer
- agent asking for preferencealloc
- allocation being evaluatedagArch
- architecture of the MADeM agent
utilityFunctionException
- when any error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |