public final class SimulatorParser extends Object
Modifier and Type | Field and Description |
---|---|
int |
aSec |
double |
backgroundFrequency
background firing rate
|
double |
backgroundStrength
background synaptic strength
|
int |
bChannel
background inputs channel
|
int |
bSec |
Document |
document |
DocumentType |
documentType |
Map<String,Double> |
doubleDataMap
Double Data defined in Data section of XML file
|
Experiment |
experiment |
Seed |
idum
seed number
|
LayerStructure |
layerStructure
Layer structure
|
int |
mapType
cell map type abmap or linemap
|
Map<String,double[][]> |
matrixDataMap
Matrix Data defined in Data section of XML file
|
double |
minDelay
minimum synaptic delay
|
Map<String,Para> |
modelParaMap
Model parameters
|
int |
numOfHosts
number of Hosts;
|
String |
outFile
output file name
|
PrintStream |
p |
int |
parallelHost
number of parallel hosts
|
Element |
rootElement |
ArrayList<String> |
subexpNames
Names of sub experiment
|
int |
xEdgeLength
length of xEdge
|
int |
yEdgeLength
length of yEdge
|
Constructor and Description |
---|
SimulatorParser() |
SimulatorParser(Seed idum,
Document doc) |
SimulatorParser(Seed idum,
File modelFile) |
Modifier and Type | Method and Description |
---|---|
void |
findMinDelay()
Find out the minimum synaptic delay from network structure.
|
DiscreteEventQueue |
getDiscreteEventQueue() |
EngineFactory |
getEngineFactory() |
ModelFactory |
getModelFactory() |
Seq<ModulatedSynapse> |
getModulatedSynapseSeq() |
static void |
main(String[] args) |
double |
parseChangeConnection(int hostId)
Deprecated.
|
double |
parseConnection()
Parse the connection section, connect the neurons and build up the
network structure
|
double |
parseConnection(int hostId)
Parse the connection section, connect the neurons and build up the
network structure
|
void |
parseExp(int hostId)
Parse the experiment section, build stimuli accordingly
|
void |
parseExperiment()
Parse the experiment for main host
|
void |
parseMapCells()
Map the cells and build up the index, for main host.
|
void |
parseMapCells(int hostId)
map the neurons, build up the index
|
Collection<DiscreteEvent> |
parseModulator(Element subExperimentElement) |
void |
parseNeuronDef()
Parse the neuron definition, for main host.
|
void |
parsePopNeurons()
populate the neurons for main host, minimum memory useage
|
void |
parsePopNeurons(int hostId)
populate the neurons for net host
|
void |
parseScaffold(int hostId)
Build the scaffold.
|
void |
parseTarget(JpvmInfo info)
set the target host id.
|
void |
referenceCheck()
Check XML reference is good or not
|
String |
validate(File modelFile)
Check whether the XML file is valid or not
|
String |
validate(String modelFilename)
Check whether the XML file is valid or not
|
public PrintStream p
public double minDelay
public Experiment experiment
public LayerStructure layerStructure
public int xEdgeLength
public int yEdgeLength
public int numOfHosts
public int mapType
public int parallelHost
public int aSec
public int bSec
public double backgroundFrequency
public double backgroundStrength
public int bChannel
public Element rootElement
public DocumentType documentType
public ArrayList<String> subexpNames
public Map<String,Para> modelParaMap
public Map<String,Double> doubleDataMap
public Map<String,double[][]> matrixDataMap
public SimulatorParser(Seed idum, File modelFile)
public SimulatorParser(Seed idum, Document doc)
public SimulatorParser()
public DiscreteEventQueue getDiscreteEventQueue()
public EngineFactory getEngineFactory()
public ModelFactory getModelFactory()
public Seq<ModulatedSynapse> getModulatedSynapseSeq()
public void referenceCheck()
public double parseConnection() throws Exception
Exception
public void parseScaffold(int hostId) throws Exception
Exception
@Deprecated public double parseChangeConnection(int hostId) throws Exception
Exception
public double parseConnection(int hostId) throws Exception
Exception
public void parseMapCells(int hostId)
public void parseExp(int hostId)
public void findMinDelay()
public void parseExperiment()
public void parseMapCells()
public Collection<DiscreteEvent> parseModulator(Element subExperimentElement)
public void parseNeuronDef()
public void parsePopNeurons(int hostId)
public void parsePopNeurons()
public void parseTarget(JpvmInfo info) throws jpvmException
jpvmException