jmadem
Class get_welfare

java.lang.Object
  extended by jason.asSemantics.DefaultInternalAction
      extended by jmadem.get_welfare
All Implemented Interfaces:
jason.asSemantics.InternalAction, java.io.Serializable

public class get_welfare
extends jason.asSemantics.DefaultInternalAction

Internal function for getting the social welfare being used by the MADeM agent.

Use:
jmadem.get_welfare(Welfare)

Author:
Francisco Grimaldo
See Also:
Serialized Form

Field Summary
(package private)  java.util.logging.Logger logger
           
private static long serialVersionUID
           
 
Constructor Summary
get_welfare()
           
 
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

get_welfare

public get_welfare()
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