nars.operation
Class Open

java.lang.Object
  extended by nars.language.Term
      extended by nars.operation.Operator
          extended by nars.operation.Open
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<Term>

public class Open
extends Operator

A class used in testing only.


Field Summary
 
Fields inherited from class nars.language.Term
name
 
Constructor Summary
Open(java.lang.String name)
           
 
Method Summary
 java.util.ArrayList<Task> execute(Task task)
          Required method for every operation, specifying the operation
 
Methods inherited from class nars.operation.Operator
call, setOperators
 
Methods inherited from class nars.language.Term
clone, compareTo, equals, getComplexity, getConstantName, getName, getOrder, hashCode, isConstant, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Open

public Open(java.lang.String name)
Method Detail

execute

public java.util.ArrayList<Task> execute(Task task)
Description copied from class: Operator
Required method for every operation, specifying the operation

Specified by:
execute in class Operator
Parameters:
task - The task with the arguments to be passed to the operator
Returns:
The direct collectable results and feedback of the execution