codesimian
Class InterpretText.WrapAroundSmallerRangeAndAverageOverlappingValues

java.lang.Object
  extended by codesimian.CS
      extended by codesimian.DefaultCS
          extended by codesimian.InterpretText
              extended by codesimian.InterpretText.WrapAroundSmallerRangeAndAverageOverlappingValues
All Implemented Interfaces:
CodeSimian, java.io.Serializable
Enclosing class:
InterpretText

public static class InterpretText.WrapAroundSmallerRangeAndAverageOverlappingValues
extends InterpretText

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class codesimian.InterpretText
InterpretText.AllLetterPairs, InterpretText.AllLetterTriples, InterpretText.Concat, InterpretText.Normalize, InterpretText.SelectIndexs, InterpretText.Str, InterpretText.WordIndexs, InterpretText.WordPairDistance, InterpretText.WrapAroundSmallerRangeAndAverageOverlappingValues
 
Field Summary
protected  InterpretText shrinkMe
           
protected  int smallerArraySize
           
 
Fields inherited from class codesimian.CS
DESCRIPTION, END, EXECPROXY, FUEL, HEAP, JAVACODE, MYFUEL, NAME, NEWINSTANCE, NULL, PARENT, PARSEPRIORITY, PREV, TESTER
 
Constructor Summary
InterpretText.WrapAroundSmallerRangeAndAverageOverlappingValues(InterpretText shrinkMe, int smallerArraySize)
           
 
Method Summary
 int arraySize()
          size that returned array of interpret() must be
 double[] interpret(java.lang.String text, int[] words)
          Returns a double[] array (size arraySize()) with values 0.0 to 1.0.
 
Methods inherited from class codesimian.InterpretText
description, DForProxy, minP
 
Methods inherited from class codesimian.DefaultCS
B, C, countP, decrementMyFuel, deleteP, 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, 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, setS, setZ, start, toString, V, Z
 
Methods inherited from class codesimian.CS
addP, addP, addP, addP, addP, BForProxy, CForProxy, clone, cost, D, deleteP, FForProxy, IForProxy, isIllusion, javaCode, 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, setB, setC, setCost, setDescription, setF, setHeap, setI, setJ, setL, setL, setParent, setParsePriority, setProxyOf, setPType, setS, setTester, setZ, SForProxy, tester, VForProxy, voidReflect, ZForProxy
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

shrinkMe

protected InterpretText shrinkMe

smallerArraySize

protected int smallerArraySize
Constructor Detail

InterpretText.WrapAroundSmallerRangeAndAverageOverlappingValues

public InterpretText.WrapAroundSmallerRangeAndAverageOverlappingValues(InterpretText shrinkMe,
                                                                       int smallerArraySize)
Method Detail

interpret

public double[] interpret(java.lang.String text,
                          int[] words)
Description copied from class: InterpretText
Returns a double[] array (size arraySize()) with values 0.0 to 1.0. Use 'text' or 'words[]' or both. One can be null.

Specified by:
interpret in class InterpretText

arraySize

public int arraySize()
Description copied from class: InterpretText
size that returned array of interpret() must be

Specified by:
arraySize in class InterpretText