Serialized Form


Package net.pakl.rl

Class net.pakl.rl.HashMapDistributed extends java.util.HashMap implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Throws:
java.io.IOException

Class net.pakl.rl.HashMapFile extends java.util.HashMap implements Serializable

Serialized Fields

cache

java.util.HashMap<K,V> cache

uniqueID

long uniqueID

Class net.pakl.rl.NonLearnedStateException extends java.lang.RuntimeException implements Serializable

Class net.pakl.rl.RandomPerThread extends java.lang.ThreadLocal implements Serializable

Serialized Fields

randomSeed

long randomSeed

Class net.pakl.rl.State extends java.lang.Object implements Serializable

Class net.pakl.rl.StateActionPair extends State implements Serializable

Serialized Fields

state

State state

action

Action action

Class net.pakl.rl.ValueFunctionHashMap extends java.lang.Object implements Serializable

serialVersionUID: 5183569982779176111L

Serialized Fields

statesToValues

java.util.HashMap<K,V> statesToValues

valueOfTerminalStates

double valueOfTerminalStates

worldTerminalStates

java.util.HashSet<E> worldTerminalStates

timer

double timer

SAFE_MODE

boolean SAFE_MODE

ZIPPED

boolean ZIPPED

DATABASE

boolean DATABASE

valueOfOutOfBoundsStates

double valueOfOutOfBoundsStates
When true, the value function will return the valueOfOutOfBoundsStates if the state requested is out of bounds.


valueOfNonStoredStates

double valueOfNonStoredStates

world

World world

name

java.lang.String name

Class net.pakl.rl.ValueFunctionHashMapZipped extends ValueFunctionHashMap implements Serializable

Class net.pakl.rl.ValueFunctionPerceptron extends java.lang.Object implements Serializable

Serialized Fields

world

World world

valueOfTerminalStates

double valueOfTerminalStates

residualWeighting

double residualWeighting

net

net.pakl.neuralnet.Perceptron net

hiddenUnits

int hiddenUnits

learningRate

double learningRate

momentum

double momentum

outputNeuron

int outputNeuron

multiplyAndAdd

double multiplyAndAdd

numPresynaptics

int numPresynaptics

totalWeightChangeForEpoch

double[][] totalWeightChangeForEpoch

randomSeed

long randomSeed

RESIDUAL_ALGORITHM

boolean RESIDUAL_ALGORITHM

INCREMENTAL_UPDATE

boolean INCREMENTAL_UPDATE

CROSS_PRODUCT

boolean CROSS_PRODUCT

USE_REAL_VECTORS

boolean USE_REAL_VECTORS

name

java.lang.String name

Class net.pakl.rl.ValueFunctionResidualAlgorithmBairdPerceptron extends ValueFunctionResidualAlgorithmPerceptron implements Serializable

Class net.pakl.rl.ValueFunctionResidualAlgorithmLinear extends java.lang.Object implements Serializable

serialVersionUID: 5035667110689014773L

Serialized Fields

randomNumberGenerator

java.util.Random randomNumberGenerator

world

World world

valueOfTerminalStates

double valueOfTerminalStates

residualWeighting

double residualWeighting

weights

double[] weights

NORMALIZE_INPUT_VECTORS

boolean NORMALIZE_INPUT_VECTORS

NORMALIZE_INITIAL_WEIGHTS

boolean NORMALIZE_INITIAL_WEIGHTS

NORMALIZE_WEIGHTS

boolean NORMALIZE_WEIGHTS

CROSS_PRODUCT

boolean CROSS_PRODUCT

DOUBLE_CROSS_PRODUCT

boolean DOUBLE_CROSS_PRODUCT

BINARY_COMPLEMENT

boolean BINARY_COMPLEMENT

HAND_CRAFTED_VECTORS

boolean HAND_CRAFTED_VECTORS

learningRate

double learningRate

outputNeuron

int outputNeuron

multiplyAndAdd

double multiplyAndAdd

numPresynaptics

int numPresynaptics

USE_BIAS_UNIT

boolean USE_BIAS_UNIT

BIAS_UNIT_ACTIVITY

double BIAS_UNIT_ACTIVITY

RESIDUAL_ALGORITHM

boolean RESIDUAL_ALGORITHM

INCREMENTAL_UPDATE

boolean INCREMENTAL_UPDATE

totalWeightChange

double[] totalWeightChange

SCALE_OUTPUT_VALUE

boolean SCALE_OUTPUT_VALUE

name

java.lang.String name

numWeights

int numWeights

totalIncrementalWeightChange

double totalIncrementalWeightChange

Class net.pakl.rl.ValueFunctionResidualAlgorithmPatrykNetwork extends ValueFunctionResidualAlgorithmPerceptron implements Serializable

Serialized Fields

numContextUnits

int numContextUnits

timestepsToReflect

int timestepsToReflect

clearBeforeTrajectories

boolean clearBeforeTrajectories

clearBeforeEachState

boolean clearBeforeEachState

Class net.pakl.rl.ValueFunctionResidualAlgorithmPerceptron extends ValueFunctionPerceptron implements Serializable

Serialized Fields

world

World world

valueOfTerminalStates

double valueOfTerminalStates

residualWeighting

double residualWeighting

net

net.pakl.neuralnet.Perceptron net

hiddenUnits

int hiddenUnits

learningRate

double learningRate

outputNeuron

int outputNeuron

multiplyAndAdd

double multiplyAndAdd

numPresynaptics

int numPresynaptics

totalWeightChangeForEpoch

double[][] totalWeightChangeForEpoch

randomSeed

long randomSeed

RESIDUAL_ALGORITHM

boolean RESIDUAL_ALGORITHM

INCREMENTAL_UPDATE

boolean INCREMENTAL_UPDATE

CROSS_PRODUCT

boolean CROSS_PRODUCT

USE_REAL_VECTORS

boolean USE_REAL_VECTORS

name

java.lang.String name

Class net.pakl.rl.ZippedHashMap extends java.util.HashMap implements Serializable

Serialized Fields

entries

java.util.HashMap<K,V> entries

Package net.pakl.rl.maze

Class net.pakl.rl.maze.MazeWizardFrame extends javax.swing.JFrame implements Serializable

Serialized Fields

PanelAgent

javax.swing.JPanel PanelAgent

PanelDimensions

javax.swing.JPanel PanelDimensions

PanelInstructions

javax.swing.JPanel PanelInstructions

PanelNeuralNetwork

javax.swing.JPanel PanelNeuralNetwork

PanelRunFile

javax.swing.JPanel PanelRunFile

PanelSaveLoad

javax.swing.JPanel PanelSaveLoad

PanelTerrain

javax.swing.JPanel PanelTerrain

destinations

javax.swing.JTextArea destinations

discountFactor

javax.swing.JTextField discountFactor

epsilon

javax.swing.JTextField epsilon

filename

javax.swing.JTextField filename

generateButton

javax.swing.JButton generateButton

generatedFile

javax.swing.JTextArea generatedFile

jButton2

javax.swing.JButton jButton2

jButton3

javax.swing.JButton jButton3

jLabel1

javax.swing.JLabel jLabel1

jLabel10

javax.swing.JLabel jLabel10

jLabel11

javax.swing.JLabel jLabel11

jLabel12

javax.swing.JLabel jLabel12

jLabel13

javax.swing.JLabel jLabel13

jLabel14

javax.swing.JLabel jLabel14

jLabel15

javax.swing.JLabel jLabel15

jLabel16

javax.swing.JLabel jLabel16

jLabel17

javax.swing.JLabel jLabel17

jLabel18

javax.swing.JLabel jLabel18

jLabel19

javax.swing.JLabel jLabel19

jLabel2

javax.swing.JLabel jLabel2

jLabel20

javax.swing.JLabel jLabel20

jLabel21

javax.swing.JLabel jLabel21

jLabel22

javax.swing.JLabel jLabel22

jLabel23

javax.swing.JLabel jLabel23

jLabel24

javax.swing.JLabel jLabel24

jLabel25

javax.swing.JLabel jLabel25

jLabel26

javax.swing.JLabel jLabel26

jLabel27

javax.swing.JLabel jLabel27

jLabel28

javax.swing.JLabel jLabel28

jLabel29

javax.swing.JLabel jLabel29

jLabel3

javax.swing.JLabel jLabel3

jLabel30

javax.swing.JLabel jLabel30

jLabel31

javax.swing.JLabel jLabel31

jLabel32

javax.swing.JLabel jLabel32

jLabel33

javax.swing.JLabel jLabel33

jLabel34

javax.swing.JLabel jLabel34

jLabel4

javax.swing.JLabel jLabel4

jLabel5

javax.swing.JLabel jLabel5

jLabel6

javax.swing.JLabel jLabel6

jLabel7

javax.swing.JLabel jLabel7

jLabel8

javax.swing.JLabel jLabel8

jLabel9

javax.swing.JLabel jLabel9

jScrollPane1

javax.swing.JScrollPane jScrollPane1

jScrollPane2

javax.swing.JScrollPane jScrollPane2

jScrollPane3

javax.swing.JScrollPane jScrollPane3

jScrollPane4

javax.swing.JScrollPane jScrollPane4

maxMin

javax.swing.JTextField maxMin

mazeX

javax.swing.JTextField mazeX

mazeY

javax.swing.JTextField mazeY

nextButton

javax.swing.JButton nextButton

numHiddenUnits

javax.swing.JTextField numHiddenUnits

numIterations

javax.swing.JTextField numIterations

obstacles

javax.swing.JTextArea obstacles

pObstacle

javax.swing.JTextField pObstacle

previousButton

javax.swing.JButton previousButton

progressBar

javax.swing.JProgressBar progressBar

residualWeighting

javax.swing.JTextField residualWeighting

runButton

javax.swing.JButton runButton

synapticModificationRate

javax.swing.JTextField synapticModificationRate

teleporters

javax.swing.JTextArea teleporters

valueFunctionType

javax.swing.JComboBox valueFunctionType

wizard

javax.swing.JTabbedPane wizard

Class net.pakl.rl.maze.State2D extends State implements Serializable

Serialized Fields

MAX_X

int MAX_X

MAX_Y

int MAX_Y

X

int X

Y

int Y

Package org.eyelanguage.rl.analysis

Class org.eyelanguage.rl.analysis.AgentTestVisualizer extends javax.swing.JFrame implements Serializable

Serialized Fields

logAnalyzer

LogAnalyzer logAnalyzer

agent

javax.swing.JLabel agent

attentionIndicator

javax.swing.JLabel attentionIndicator

saccadeTarget

javax.swing.JLabel saccadeTarget

fixations

java.util.ArrayList<E> fixations

attendeds

java.util.ArrayList<E> attendeds

targets

java.util.ArrayList<E> targets

wordLengths

java.util.ArrayList<E> wordLengths

animationComplete

boolean animationComplete

currentFixation

int currentFixation

nextFixation

int nextFixation

currentAttention

int currentAttention

nextAttention

int nextAttention

distance

int distance

currentTarget

int currentTarget

nextTarget

int nextTarget

singleBlockWidth

int singleBlockWidth

incrementWidth

int incrementWidth

counter

int counter

goingUp

boolean goingUp

goingDown

boolean goingDown

startedAnimating

boolean startedAnimating

stillAnimating

boolean stillAnimating

fixation

java.util.Iterator<E> fixation

attention

java.util.Iterator<E> attention

target

java.util.Iterator<E> target

Package org.eyelanguage.rl.reading

Class org.eyelanguage.rl.reading.ParallelToSerialVFAdapter extends java.lang.Object implements Serializable

Serialized Fields

adaptedValueFunction

ValueFunction adaptedValueFunction

SERIAL_ATTEND_INTERVAL

double SERIAL_ATTEND_INTERVAL

Class org.eyelanguage.rl.reading.ReadingSet extends java.lang.Object implements Serializable

Serialized Fields

sentenceWorlds

java.util.ArrayList<E> sentenceWorlds

readingPolicies

java.util.ArrayList<E> readingPolicies

reinforcementFs

java.util.ArrayList<E> reinforcementFs

Class org.eyelanguage.rl.reading.ReadingState extends State implements Serializable

Serialized Fields

attendedWordID

int attendedWordID
A unique word identification number of the attended word. The first word in the sentence is word number 0.


attendedWordLen

int attendedWordLen
This is an integer which indicates the number of characters in the word being attended.


previousWordLen

int previousWordLen

nextWordLen

int nextWordLen

attendedWordPredictability

double attendedWordPredictability

distanceFromAttendCenter

int distanceFromAttendCenter
(Implicit) Indicates the number of characters, including whitespace, from the current eye position to the center of the word that is being attended.


eyePosition

int eyePosition
Position of the eye, in integers, relative the to the entire text.


fixatedWordID

int fixatedWordID
(Implicit) A unique word identification number of the fixated word. The first word in the sentence is word number 0.


identified

boolean identified
Whether or not the word being attended has been identified.


programmingSaccade

boolean programmingSaccade
True or false indicating whether we are in a saccade or not (but we can only be in a saccade if we performed an action to get into one so do all these need to exist?).


saccadeRequestDistance

int saccadeRequestDistance
Result of an action issued by the agent to specify how much of a saccade distance is requested. After some amount of timeInSaccade has elapsed, the agent will find itself looking at a different word.


timeAttending

int timeAttending
The amount of time the agent has spent in this state attending/processing this word. After an amount of time, dictated by the ActionSet, there will be actiosn transitioning us to the next word.


timeInProgrammingSaccade

int timeInProgrammingSaccade
Indicates the amount of time spent in a saccade.

Class org.eyelanguage.rl.reading.ReadingStateFactory extends java.lang.Object implements Serializable

Serialized Fields

mode

int mode

allocationCounter

int allocationCounter

pool

java.lang.Object[] pool

inUse

boolean[] inUse

GROW_BY

int GROW_BY

records

java.util.HashMap<K,V> records

Class org.eyelanguage.rl.reading.ReadingStateParallelRelative extends ReadingStateRelative implements Serializable

serialVersionUID: 8711529768299836928L

Serialized Fields

attWindowIdentified

boolean[] attWindowIdentified

attWindowWordIDs

int[] attWindowWordIDs

attWindowTimes

int[] attWindowTimes

attWindowPredictabilities

double[] attWindowPredictabilities

attWindowLengths

int[] attWindowLengths

Class org.eyelanguage.rl.reading.ReadingStateRelative extends ReadingState implements Serializable

serialVersionUID: -7046034796366757136L

Class org.eyelanguage.rl.reading.SentenceWorld extends java.lang.Object implements Serializable

serialVersionUID: -4499055574151223530L

Serialized Fields

randomSourcePerThread

RandomPerThread randomSourcePerThread

ACUITY_LIMIT

int ACUITY_LIMIT
Beyond this distance, visual acuity goes non-linearly to zero. Attend actions do not advance attend time at this stage. Somehow, this has to be penalized, but do we want to avoid sending predicted reward to infinity?


ATTEND_INTERVAL

int ATTEND_INTERVAL
By how much the 'attended time' dimension is incremented on each simulated timestep.


ACUITY_LINEAR_PENALIZE

boolean ACUITY_LINEAR_PENALIZE
If true, means that as word identifcation time increases linearly as fovea is distanced from attended word center; otherwise just a constant penalty for any distance from the word center


ACUITY_LINEAR_PENALTY_SLOPE

int ACUITY_LINEAR_PENALTY_SLOPE
Amount of extra time required per character eccentricity.


SACCADE_PROGRAM_INTERVAL

int SACCADE_PROGRAM_INTERVAL
By how much the 'saccade program time' dimension is incremented on each simualted timestep.


MAX_POSSIBLE_ID_TIME

int MAX_POSSIBLE_ID_TIME
Maximum amount of time to identify a word, ever (is this actually used?)


MAX_SACCADE_PROG_TIME

int MAX_SACCADE_PROG_TIME
The actual amount of time it takes to program a saccade.


MAX_POSSIBLE_ACUITY_PENALTY

int MAX_POSSIBLE_ACUITY_PENALTY
When sentence world is initialized, this number reflects the maximum possible penalty on word identifiation time (which is useful for knowing the bounds of the state space).


MAX_POSSIBLE_ATTEND_TIME

int MAX_POSSIBLE_ATTEND_TIME
Maximum amount of time that could possibly be spent identifying a particular word given that we're looking at the center of the word.


MAX_POSSIBLE_PENALTY

int MAX_POSSIBLE_PENALTY

SACCADIC_ERROR_SPREAD

double SACCADIC_ERROR_SPREAD
A larger value here means more error if saccadic error is enabled.


SACCADE_TIME_PENALTY

int SACCADE_TIME_PENALTY
The amount of time subtracted from attending a word after making a saccade.


MIN_ATTEND_TIME_WITH_PENALTIES

int MIN_ATTEND_TIME_WITH_PENALTIES

MAX_ATTEND_TIME_WITH_PENALTIES

int MAX_ATTEND_TIME_WITH_PENALTIES

SACCADIC_ERROR

boolean SACCADIC_ERROR
Whether saccadic oculomotor error is enabled.


length

int length

isBuilt

boolean isBuilt

sentenceString

java.lang.String sentenceString

name

java.lang.String name

words

java.util.ArrayList<E> words

CACHE_ENABLED

boolean CACHE_ENABLED

SACCADIC_ERROR_GAUSSIAN

boolean SACCADIC_ERROR_GAUSSIAN

setStartingState

ReadingStateParallelRelative setStartingState

readingStateFactory

ReadingStateFactory readingStateFactory

numStates

int numStates

bound_maxDistanceFromAttendCenter

int bound_maxDistanceFromAttendCenter

bound_minDistanceFromAttendCenter

int bound_minDistanceFromAttendCenter

requester

java.lang.String requester

terminalStatesCache

java.util.HashSet<E> terminalStatesCache

starvedBoolean

boolean starvedBoolean

boundedBufferSize

int boundedBufferSize

eyePositionCache

java.util.HashMap<K,V> eyePositionCache

Class org.eyelanguage.rl.reading.SentenceWorld.StateIteratorIndividualist extends java.lang.Thread implements Serializable

Serialized Fields

running

boolean running

boundedBuffer

java.util.concurrent.ArrayBlockingQueue<E> boundedBuffer

ceaseRunning

boolean ceaseRunning

deliveredLast

boolean deliveredLast

nextToReturn

java.lang.Object nextToReturn

LAST_OBJECT_MARKER

java.lang.Object LAST_OBJECT_MARKER

Class org.eyelanguage.rl.reading.SentenceWorldParallel extends SentenceWorld implements Serializable

serialVersionUID: -7282356923040031291L

Serialized Fields

PARALLEL_ATTENTION_ALWAYS_POSITIVE

boolean PARALLEL_ATTENTION_ALWAYS_POSITIVE

EXHAUSTIVE_MODE

boolean EXHAUSTIVE_MODE

Class org.eyelanguage.rl.reading.Word extends java.lang.Object implements Serializable

Serialized Fields

text

java.lang.String text

frequency

double frequency

preceedingWord

Word preceedingWord

predictabilityFromPreceedingWord

double predictabilityFromPreceedingWord

id

int id

identificationTime

int identificationTime

manuallySetLength

int manuallySetLength

stringLengthOverridden

boolean stringLengthOverridden

Package org.eyelanguage.rl.reading.ui

Class org.eyelanguage.rl.reading.ui.Simple extends javax.swing.JFrame implements Serializable

Serialized Fields

jButton1

javax.swing.JButton jButton1

jCheckBox1

javax.swing.JCheckBox jCheckBox1

jComboBox1

javax.swing.JComboBox jComboBox1

jComboBox2

javax.swing.JComboBox jComboBox2

jLabel1

javax.swing.JLabel jLabel1

jLabel10

javax.swing.JLabel jLabel10

jLabel11

javax.swing.JLabel jLabel11

jLabel12

javax.swing.JLabel jLabel12

jLabel13

javax.swing.JLabel jLabel13

jLabel14

javax.swing.JLabel jLabel14

jLabel15

javax.swing.JLabel jLabel15

jLabel16

javax.swing.JLabel jLabel16

jLabel17

javax.swing.JLabel jLabel17

jLabel18

javax.swing.JLabel jLabel18

jLabel19

javax.swing.JLabel jLabel19

jLabel2

javax.swing.JLabel jLabel2

jLabel20

javax.swing.JLabel jLabel20

jLabel21

javax.swing.JLabel jLabel21

jLabel3

javax.swing.JLabel jLabel3

jLabel4

javax.swing.JLabel jLabel4

jLabel5

javax.swing.JLabel jLabel5

jLabel6

javax.swing.JLabel jLabel6

jLabel7

javax.swing.JLabel jLabel7

jLabel8

javax.swing.JLabel jLabel8

jLabel9

javax.swing.JLabel jLabel9

jProgressBar1

javax.swing.JProgressBar jProgressBar1

jSeparator1

javax.swing.JSeparator jSeparator1

jSeparator2

javax.swing.JSeparator jSeparator2

jSeparator3

javax.swing.JSeparator jSeparator3

jSeparator4

javax.swing.JSeparator jSeparator4

jSeparator5

javax.swing.JSeparator jSeparator5

jTextField1

javax.swing.JTextField jTextField1

jTextField2

javax.swing.JTextField jTextField2

jTextField3

javax.swing.JTextField jTextField3

jTextField4

javax.swing.JTextField jTextField4

jTextField5

javax.swing.JTextField jTextField5

jTextField6

javax.swing.JTextField jTextField6

jTextField7

javax.swing.JTextField jTextField7

jTextField8

javax.swing.JTextField jTextField8

Package tools

Class tools.Alert extends javax.swing.JFrame implements Serializable

Serialized Fields

jScrollPane1

javax.swing.JScrollPane jScrollPane1

message

javax.swing.JTextArea message