|
The Physiologist's Friend Simulation API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.unizh.ini.friend.simulation.SimulationSetupFactory
public class SimulationSetupFactory
Factory methods for creating instances of SimulationSetup
. This is where the simulation is constructed
and all the architecture is arranged.
Field Summary | |
---|---|
protected static int |
delay
The delay between the timer events in milliseconds. |
static int |
DELAY
default timer delay in ms: 5 |
static int |
SIZE
size of one edge of retinal array. |
Constructor Summary | |
---|---|
SimulationSetupFactory()
|
Method Summary | |
---|---|
static SimulationSetup |
getColorSimulationSetup()
Creates a simulation setup for color vision cells. |
static SimulationSetup |
getSimulationSetup()
Creates the monchrome simulation setup. |
protected static SimulationTask |
getSimulationTask(SimulationStep step)
Creates a simulation task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DELAY
protected static int delay
public static final int SIZE
NUM_CELLS=(5/2)*SIZE^2-(3/2)*SIZEEeach increase by 1 increases the number of cells by 6*(SIZE-1). For specific SIZE, the number of cells is as follows:
SIZE NUM_CELLS 1 1 2 7 3 19 4 27 5 51The value of
SIZE
is 4.
Constructor Detail |
---|
public SimulationSetupFactory()
Method Detail |
---|
protected static SimulationTask getSimulationTask(SimulationStep step)
step
- SimulationStep means of time stepping the simulation
public static SimulationSetup getSimulationSetup()
name
is set to "monochrome".
This the the main method for actually constructing the architecture and connections of the
simulation of the neurons. It makes the cells, their connections, and decides on the fiducial cells that can be listened to.
It also makes a SimulationStep
to step the simulation over the collection of cells,
and from that, it also make the SimulationTask
.
SimulationSetup
public static SimulationSetup getColorSimulationSetup()
name
is set to "color".
|
http://www.ini.unizh.ch/~tobi/friend | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |