cz.cuni.amis.pogamut.shady
Class NodeElement

Package class diagram package NodeElement
java.lang.Object
  extended by cz.cuni.amis.pogamut.shady.NodeElement

public class NodeElement
extends Object

Every node has multiple elemnts, binary tree has two, our if-then tree structure has a variable ammount. This class represents one of possible choices in the tree engine can select.

Author:
Honza

Method Summary
 NodeCall getCall()
          Get node call, that is either another node or action executed by IWorkExecutor.
 IQuery getPriority()
          Get query that can be used to determine priority of this element.
 IQuery getTrigger()
          Get query that can be used to determine if this element is eligible for execution (i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPriority

public IQuery getPriority()
Get query that can be used to determine priority of this element.

Returns:
the priority query

getTrigger

public IQuery getTrigger()
Get query that can be used to determine if this element is eligible for execution (i.e. if procondition for using call are fulfilles). That alone is not sufficient, priority of this element must be highest in the node.

Returns:
the trigger query.

getCall

public NodeCall getCall()
Get node call, that is either another node or action executed by IWorkExecutor.

Returns:
the call


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.