jildt
Class getCurrentBels

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

public class getCurrentBels
extends jason.asSemantics.DefaultInternalAction

Internal action to get the current beliefs of an agent to form training examples. Rules, literals starting with jildt prefix, and the ones defined in the literal jildt_settings(exclude,[b0,..., bn]) are excluded from the result.

Use:
jildt.getCurrentBels(Bs)

Parameters:

Examples: Given an environment like the shown in the image below:

Author:
Carlos Alberto González-Alarcón, Alejandro Guerra-Hernández, Francisco Grimaldo-Moreno
See Also:
Serialized Form

Constructor Summary
getCurrentBels()
           
 
Method Summary
 java.lang.Object execute(jason.asSemantics.TransitionSystem ts, jason.asSemantics.Unifier un, jason.asSyntax.Term[] args)
           
 int getMaxArgs()
           
 int getMinArgs()
           
 
Methods inherited from class jason.asSemantics.DefaultInternalAction
canBeUsedInContext, prepareArguments, suspendIntention
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

getCurrentBels

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

getMinArgs

public int getMinArgs()
Overrides:
getMinArgs in class jason.asSemantics.DefaultInternalAction

getMaxArgs

public int getMaxArgs()
Overrides:
getMaxArgs in class jason.asSemantics.DefaultInternalAction