Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jmadem
Class launch_specific_decision

    java.lang.Object
      jason.asSemantics.DefaultInternalAction
          jmadem.launch_specific_decision

All Implemented Interfaces:
  jason.asSemantics.InternalAction, java.io.Serializable

    public class launch_specific_decision

extends jason.asSemantics.DefaultInternalAction

Internal function for starting a MADeM decision with all the parameters being specified in the call (i.e. personal weights, utility weights, welfare and timeout).

Use:
``

jmadem.launch_specific_decision( | [AgentNames], |
| [Allocations], | // Obtained through jmadem.construct_allocation
| [UtilityFunctionNames], |
| [ [AgentName, Weight] | ListOfPairs ], |
| [ [UtilityName, Weight] | ListOfPairs ], |
| Welfare, |
| Timeout, |
| DecisionId) | // Output parameter

Launching MADeM is not a blocking task. That is, this functions only starts the MADeM process and gives the decision identifier as a result.

Once MADeM has been resolved, a belief of the type `+madem_result(DecisionId, WinnerAllocation)` will be added to the agent's belief base.

Author:
  Francisco Grimaldo
See Also:
  Serialized Form

Field Summary
`(package private) java.util.logging.Logger` | `logger`
`private static long` | `serialVersionUID`

Constructor Summary
`launch_specific_decision()`

Method Summary
`java.lang.Object` | `execute(jason.asSemantics.TransitionSystem ts, jason.asSemantics.Unifier un, jason.asSyntax.Term[] args)`

Methods inherited from class jason.asSemantics.DefaultInternalAction
`canBeUsedInContext, checkArguments, getMaxArgs, getMinArgs, suspendIntention`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### serialVersionUID

    private static final long serialVersionUID

See Also:
  Constant Field Values

### logger

    java.util.logging.Logger logger

Constructor Detail

### launch_specific_decision

    public launch_specific_decision()

Method Detail

### execute

    public java.lang.Object execute(jason.asSemantics.TransitionSystem ts,
                                    jason.asSemantics.Unifier un,
                                    jason.asSyntax.Term[] args)
                             throws java.lang.Exception

  Specified by:
    `execute` in interface `jason.asSemantics.InternalAction`
  Overrides:
    `execute` in class `jason.asSemantics.DefaultInternalAction`
  Throws:
    `java.lang.Exception`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD