public class Result extends Object
Modifier and Type | Field and Description |
---|---|
Map<String,Integer> |
attractorsCount
Number of occurrences per attractor
|
Map<String,List<Integer>> |
attractorsDepths
Depth of attractors (from a well-defined portion of the state space)
|
Map<String,Double> |
attractorsLowerBound
Lower probability bound of attractors
|
Map<String,Double> |
attractorsUpperBound
Upper probability bound of attractors
|
Map<String,BufferedImage> |
charts
Charts to be plotted
|
Map<String,List<byte[]>> |
complexAttractorPatterns
Pattern representation of complex attractors
|
Map<String,AbstractStateSet> |
complexAttractors
Complex attractors (terminal cycles)
|
boolean |
convergence
Convergence
|
String |
filename
Fine name
|
List<byte[]> |
iconditions
Initial states associated with these results
|
String |
log
Simulation log
|
int |
maxTransientSize
Transient cycles * public List
|
int |
memory
Simulation memory (Mbytes)
|
String |
name
Simulation name
|
String |
nodes
Names of components
|
String |
parameters
Parameters description
|
int |
performed
Number of performed iterations
|
String |
perturbation
Applied perturbations
|
Map<String,State> |
pointAttractors
Stable states
|
String |
reduction
Applied reductions
|
double |
residual
FireFront residual probability
|
int |
runs
Maximum number of iterations
|
EnumAlgorithm |
strategy
Associated type of simulation (e.g.
|
long |
time
Simulation time (miliseconds)
|
int |
transientMinSize
Maximum number of iterations
|
int |
truncated
Number of truncated iterations
|
Constructor and Description |
---|
Result() |
Modifier and Type | Method and Description |
---|---|
void |
add(AbstractStateSet s)
Adds a complex attractor (terminal cycle) to results
|
void |
add(AbstractStateSet s,
int steps)
Adds a complex attractor (terminal cycle) to results
|
void |
add(State s)
Adds a stable state to results
|
void |
add(State s,
int steps)
Adds a stable state to results
|
void |
addPlot(String title,
BufferedImage img)
Adds a plotted chart to results
|
boolean |
contains(State s)
Checks whether a stable state is stored
|
void |
increment(State s)
Increments the number of occurrences for a stable state (assumes the results
contain the attractor)
|
void |
increment(StateSet s)
Increments the number of occurrences for a complex attractor (assumes the
results contain the attractor)
|
void |
incrementComplexAttractor(String key,
int steps) |
String |
logToHTMLString()
Serializes the log into HTML
|
void |
setBounds(String attractor,
double lower,
double upper)
Bounds the probability of a given attractor
|
String |
toCSVString() |
String |
toHTMLString()
Serializes the results into HTML
|
String |
toString() |
public EnumAlgorithm strategy
public Map<String,AbstractStateSet> complexAttractors
public Map<String,List<byte[]>> complexAttractorPatterns
public Map<String,Double> attractorsLowerBound
public Map<String,Double> attractorsUpperBound
public int maxTransientSize
public Map<String,List<Integer>> attractorsDepths
public Map<String,BufferedImage> charts
public String log
public int transientMinSize
public int runs
public int truncated
public int performed
public long time
public int memory
public double residual
public String filename
public String name
public String parameters
public String nodes
public List<byte[]> iconditions
public String perturbation
public String reduction
public boolean convergence
public void add(State s)
s
- stable state to be addedpublic void add(AbstractStateSet s)
s
- complex attractor to be addedpublic void add(State s, int steps)
s
- stable state to be addedsteps
- depth of the stable state from a portion of the state spacepublic void add(AbstractStateSet s, int steps)
s
- complex attractor to be addedsteps
- depth of the complex attractor from a portion of the state spacepublic void incrementComplexAttractor(String key, int steps)
public boolean contains(State s)
s
- stable state to be checkedpublic void increment(State s)
s
- stable state whose occurrence is to be accountedpublic void increment(StateSet s)
s
- complex attractor whose occurrence is to be accountedpublic void setBounds(String attractor, double lower, double upper)
attractor
- the attractor whose probability is to be boundedlower
- lower boundupper
- upper boundpublic void addPlot(String title, BufferedImage img)
title
- the name of the chartimg
- the chart to be storedpublic String toHTMLString()
public String logToHTMLString()
public String toCSVString()
Copyright © 2005–2020. All rights reserved.