Class MonteCarloResult
Results of Monte Carlo Analysis.
Inheritance
System.Object
MonteCarloResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SpiceSharpParser.ModelReaders.Netlist.Spice.Readers.Controls.Simulations
Assembly: SpiceSharpParser.dll
Syntax
public class MonteCarloResult
Properties
| Improve this Doc View SourceEnabled
Gets or sets a value indicating whether MC analysis was executed.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Function
Gets or sets the function name.
Declaration
public string Function { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Max
Gets or sets the dictionary of max values.
Declaration
public Dictionary<Simulation, double> Max { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<SpiceSharp.Simulations.Simulation, System.Double> |
Min
Gets or sets the dictionary of min values.
Declaration
public Dictionary<Simulation, double> Min { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<SpiceSharp.Simulations.Simulation, System.Double> |
OutputVariable
Gets or sets the output variable name.
Declaration
public string OutputVariable { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Seed
Gets or sets the random seed for Monte Carlo simulations evaluators.
Declaration
public int? Seed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
| Improve this Doc View SourceCollect(Simulation, Double)
Declaration
public void Collect(Simulation simulation, double result)
Parameters
Type | Name | Description |
---|---|---|
SpiceSharp.Simulations.Simulation | simulation | Simulation of the result. |
System.Double | result | Result value. |
CreatePlot(String, Int32, List<Double>)
Declaration
protected HistogramPlot CreatePlot(string title, int bins, List<double> values)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | |
System.Int32 | bins | |
System.Collections.Generic.List<System.Double> | values |
Returns
Type | Description |
---|---|
HistogramPlot |
GetMaxPlot(Int32)
Declaration
protected HistogramPlot GetMaxPlot(int bins)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bins |
Returns
Type | Description |
---|---|
HistogramPlot |
GetMinPlot(Int32)
Declaration
protected HistogramPlot GetMinPlot(int bins)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bins |
Returns
Type | Description |
---|---|
HistogramPlot |
GetPlot(Int32)
Gets the plot from Monte Carlo results.
Declaration
public HistogramPlot GetPlot(int bins)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bins | Number of bins. |
Returns
Type | Description |
---|---|
HistogramPlot | A plot. |
GetYMaxPlot(Int32)
Declaration
protected HistogramPlot GetYMaxPlot(int bins)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bins |
Returns
Type | Description |
---|---|
HistogramPlot |