|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Network
The central interface of the whole framework. Each Simulator
takes a Network
for simulation, as well as each analysis algorithm takes one. Additionally Network
s
can be modified or saved as FernML-Files.
Basically only the networks structure is stored here, other things like management of
the species populations (amounts), propensities or annotations is sourced out to separate
classes. The advantage is that you can reuse existing AmountManager
s,... when
you are implementing your own network (reader, wrapper, evolver,...) when you think, one
of the existing ones is suitable.
AnalysisBase
,
FernMLNetwork.FernMLNetwork(Network)
,
FernMLNetwork.saveToFile(java.io.File)
,
ModifierNetwork
Method Summary | |
---|---|
AmountManager |
getAmountManager()
Gets the AmountManager for this network. |
AnnotationManager |
getAnnotationManager()
Gets the AnnotationManager for this network. |
long |
getInitialAmount(int species)
Gets the initial amount of the specified molecule species. |
String |
getName()
Gets an identifier of the network. |
int |
getNumReactions()
Gets the number of reaction within the network. |
int |
getNumSpecies()
Gets the number of species within the network. |
int[] |
getProducts(int reaction)
Gets the products of the specified reaction. |
PropensityCalculator |
getPropensityCalculator()
Gets the PropensityCalculator for this network. |
int[] |
getReactants(int reaction)
Gets the reactants of the specified reaction. |
String |
getReactionName(int index)
Gets a string representation of the reaction. |
int |
getSpeciesByName(String name)
Gets the species index by name. |
String |
getSpeciesName(int index)
Gets the species name by index. |
void |
setInitialAmount(int species,
long value)
Sets the initial amount of the specified molecule species. |
Method Detail |
---|
AmountManager getAmountManager()
AmountManager
for this network.
AmountManager
PropensityCalculator getPropensityCalculator()
PropensityCalculator
for this network.
PropensityCalculator
AnnotationManager getAnnotationManager()
AnnotationManager
for this network.
AnnotationManager
int getNumSpecies()
int getNumReactions()
int[] getReactants(int reaction)
reaction
- index of the reaction
int[] getProducts(int reaction)
reaction
- index of the reaction
int getSpeciesByName(String name)
name
- name of the species
String getSpeciesName(int index)
index
- index of the species
String getReactionName(int index)
index
- reaction index
String getName()
long getInitialAmount(int species)
species
- index of the species
void setInitialAmount(int species, long value)
species
- index of the speciesvalue
- initial amount of the species
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |