Class ComputationalSpecificationSet

java.lang.Object
  extended byswarm.BaseImpl
      extended byswarm.objectbase.SwarmObjectImpl
          extended byComputationalSpecificationSet
All Implemented Interfaces:
swarm.defobj.Create, swarm.defobj.CreateS, swarm.defobj.Customize, swarm.defobj.CustomizeS, swarm.defobj.DefinedObject, swarm.defobj.DefinedObjectS, swarm.defobj.Drop, swarm.defobj.DropS, swarm.defobj.GetName, swarm.defobj.GetNameS, swarm.objectbase.SwarmObject, swarm.objectbase.SwarmObjectS

public class ComputationalSpecificationSet
extends swarm.objectbase.SwarmObjectImpl

The container generated by an order and containing the spefications about a computational process

Author:
Pietro Terna

Field Summary
 int computationType
          the tipe of computation (max -1001, min -1999)
 boolean done
          setting true when done
 java.lang.Object[] matrixAddress
          the specifications (as addresses of memory matrixes to be used)
 Order myOrder
          myOrder (i.e. that of the order which has generated this object
 int pos
          the position of this sequence in the recipe
 
Constructor Summary
ComputationalSpecificationSet(swarm.defobj.Zone aZone, Order o, int p)
          constructor for computational specification set
 
Method Summary
 int getComputationType()
          getting the computation type
 boolean getDone()
          getting the done status
 java.lang.Object getMemoryMatrixAddress(int i)
          returning the memory matrix address at pos. i of the vector containg the addresses (0<=i
 int getNumberOfMemoryMatrixesToBeUsed()
          returning the number of memory matrixes to be used
 Order getOrder()
          getting the order this specification set belongs to
 int getOrderLayer()
          getting the order layer
 int getOrderNumber()
          returning the number of the order of this computational specification set
 int getPositionInRecipe()
          returning the position of this computational specification set into its recipe
 void setDone()
          setting the computation done
 void setSpecificationSet(int n, java.lang.Object[] r, int ct)
          setting computational specifications
 
Methods inherited from class swarm.objectbase.SwarmObjectImpl
compare, describe, describeID, drop, getCompleteProbeMap, getDisplayName, getName, getProbeForMessage, getProbeForVariable, getProbeMap, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myOrder

public Order myOrder
myOrder (i.e. that of the order which has generated this object


pos

public int pos
the position of this sequence in the recipe


matrixAddress

public java.lang.Object[] matrixAddress
the specifications (as addresses of memory matrixes to be used)


done

public boolean done
setting true when done


computationType

public int computationType
the tipe of computation (max -1001, min -1999)

Constructor Detail

ComputationalSpecificationSet

public ComputationalSpecificationSet(swarm.defobj.Zone aZone,
                                     Order o,
                                     int p)
constructor for computational specification set

Method Detail

setSpecificationSet

public void setSpecificationSet(int n,
                                java.lang.Object[] r,
                                int ct)
setting computational specifications


getNumberOfMemoryMatrixesToBeUsed

public int getNumberOfMemoryMatrixesToBeUsed()
returning the number of memory matrixes to be used


getMemoryMatrixAddress

public java.lang.Object getMemoryMatrixAddress(int i)
returning the memory matrix address at pos. i of the vector containg the addresses (0<=i

getOrderNumber

public int getOrderNumber()
returning the number of the order of this computational specification set


getPositionInRecipe

public int getPositionInRecipe()
returning the position of this computational specification set into its recipe


setDone

public void setDone()
setting the computation done


getDone

public boolean getDone()
getting the done status


getOrderLayer

public int getOrderLayer()
getting the order layer


getComputationType

public int getComputationType()
getting the computation type


getOrder

public Order getOrder()
getting the order this specification set belongs to