codesimian
Class AddressShape

java.lang.Object
  extended by codesimian.CS<CSGeneric>
      extended by codesimian.DefaultCS
          extended by codesimian.AddressShape
All Implemented Interfaces:
CodeSimian
Direct Known Subclasses:
AddressShape.Fractal, AddressShape.Linear, AddressShape.Root

public abstract class AddressShape
extends DefaultCS

DEPRECATED. ADDRESS-SHAPE is not a part of CS.java anymore, but it can be used to map floating point numbers to all the paths of CSs starting from a single CS.

obsolete documentation:

A set of inner classes to be used in a CS.addressShape instance variable. These are the default choices.

All address-shape CSs do not have to subclass AddressShape, but must have at least 2 parameters, and their param0 is set to the CS currently being traversed to find an address (starts as the root CS).

Their param1 is set to the value of the current address number, which also changes at every CS traversed (param0 changes also). Exec() returns the next value for param1 of the next AddressShape on the path.


Nested Class Summary
static class AddressShape.Fractal
          The first 0-.5 means to stop.
static class AddressShape.Linear
          Fast.
static class AddressShape.Root
          Similar to Linear and Fractal, except its meant to go on a root CS.
Its shape has range 0.0 to countP().
 
Field Summary
static int ADDRESS_NUMBER
           
static int ADDRESS_START
           
 
Fields inherited from class codesimian.CS
DESCRIPTION, END, EXECPROXY, HEAP, JAVACODE, MYFUEL, NAME, NEWINSTANCE, NULL, PARENT, PARSEPRIORITY, PREV, TESTER, THIS
 
Constructor Summary
AddressShape()
           
 
Method Summary
 
Methods inherited from class codesimian.DefaultCS
B, C, countP, decrementMyFuel, deleteP, description, DForProxy, F, fuel, getExec, getObject, heap, I, indexP, indexPName, insertB, insertC, insertD, insertF, insertI, insertJ, insertL, insertL, insertL1, insertP, insertS, insertZ, J, javaCode, keyword, LForProxy, LForProxy, minP, myFuel, name, newInstance, objectToCS, objectToCSArray, objectToCSArray, P, prevD, prevL, PType, S, setB, setC, setCountP, setD, setD, setExec, setF, setFuel, setI, setJ, setL, setL, setL, setL1, setMyFuel, setName, setObject, setP, setPrevExec, setPType, setS, setZ, start, toString, V, Z
 
Methods inherited from class codesimian.CS
addB, addC, addD, addF, addI, addJ, addL, addP, addP, addP, addP, addP, addS, addZ, BForProxy, CForProxy, clone, cost, D, deleteP, FForProxy, GETB, GETC, GETD, GETF, GETI, GETJ, GETL, GETS, GETZ, IForProxy, isIllusion, JForProxy, L, L, L, L, L, maxD, maxP, minD, overwrites, parent, parsePriority, PB, PC, PD, PF, PI, PJ, PL, prevB, prevC, prevF, prevI, prevJ, prevS, prevZ, proxyOf, PS, PZ, reflect, reflect, reflect6, setB, SETB, setC, SETC, setCost, SETD, setDescription, setF, SETF, setHeap, setI, SETI, setJ, SETJ, SETL, setL, setL, setParent, setParsePriority, setProxyOf, setS, SETS, setTester, setZ, SETZ, SForProxy, tester, toJavaCode, VForProxy, voidReflect, ZForProxy
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADDRESS_START

public static final int ADDRESS_START
See Also:
Constant Field Values

ADDRESS_NUMBER

public static final int ADDRESS_NUMBER
See Also:
Constant Field Values
Constructor Detail

AddressShape

public AddressShape()