Click or drag to resize

cMonteCarloManager Class

Manager to run the Ecosim Monte Carlo.
Inheritance Hierarchy

Namespace:  EwECore
Assembly:  EwECore (in EwECore.dll) Version: 6.6.15981.0 (6.6.15981.0)
Syntax
public class cMonteCarloManager : cThreadWaitBase, 
	ICoreInterface

The cMonteCarloManager type exposes the following members.

Properties
  NameDescription
Public propertyActiveResultWriter
Public propertyCoreComponent
Public propertyDataType
Public propertyDBID
Public propertyDietSamplingMethod
Get/set which diet sampling method Monte Carlo should use.
Public propertyEcopathEETolerance
Get/set a tolerance for EE estimates if the default mass-balance constraint of [0, 1] proves too strict.
Public propertyEcosimTimeStepHandler
Public propertyEnable
Get/set whether Monte Carlo is allowed to vary a given variable.
Public propertyFMRatioForSRA
Get/set the F/M ratio for SRA.
Public propertyGroups
Get a cMonteCarloGroup for a given index.
Public propertyIncludeFpenalty
Get/set whether to include SRA for groups with forced catches.
Public propertyIndex
Public propertyIsBestFit
Public propertyIsRunning (Inherited from cThreadWaitBase.)
Public propertyIsSaveOutput
Get/set whether Monte Carlo should automatically save trial outputs.
Public propertyMaxEcoPathInterations
Get the max. number of iterations that Monte Carlo will perform.
Public propertyMessagePump (Inherited from cThreadWaitBase.)
Public propertyMonteCarloCompletedHandler
Set the method to call in the interface when the Monte Carlo trials have completed.
Public propertyMonteCarloEcopathStepHandler
Set the delegate to call at each attempt to find a balanced Ecopath model.
Public propertyMonteCarloStepHandler
Set the MonteCarloTrialProgressDelegate to call at the completion of each Monte Carlo trial.
Public propertyName
Public propertynEcopathIterations
Get the number of attempts at finding a balanced Ecopath model for the current trial.
Public propertynResultWriters
Get the number of available Monte Carlo result writers.
Public propertynTrialIterations
Get the number of trials performed in the currently running simulation.
Public propertynTrials
Get/set the number of trials.
Public propertyRetainFits
Get/set whether to better fitting estimates (use trials to search)
Public propertySS
Get the Sum of Squares fit to the currently loaded reference data for the current trial.
Public propertySSBestFit
Get the best fitting Sum of Squares to the currently loaded reference data for all the trials run to date.
Public propertySSorg
Get the Sum of Squares, fit to the currently loaded reference data for the original ecopath parameters.
Public propertySyncObject
Set the Synchronization object, which can be a System.Windows.Forms.Control, used for calling all the delegates across threads
Public propertyUseFishingPattern
Get/set whether to retain EwE5 current Ecosim fishing rate patterns.
Public propertyValidateRespiration
Get/set whether Monte Carlo should validate and reject negative respiration values.
Top
Methods
  NameDescription
Public methodApplyBestFits
Apply the Monte Carlo results (best fitting parameters) to the Ecopath inputs (B,PB....)
Public methodClear
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetID
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitRandomSequence
Initialize the random sequence generator to a new seed.
Public methodLoad
Load the current data into the MonteCarlo parameters
Public methodLoadFromPedigree
Load CV values from pedigree for a given variable.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReleaseWait (Overrides cThreadWaitBaseReleaseWait.)
Public methodRestoreOriginalValues
Public methodResultWriter
Public methodRun
Run the Monte Carlo trials with the current parameters
Public methodSaveOriginalValues
Public methodSelectNewEcopathParameters
Select a new set of Ecopath parameters using CV, Mean, Max and Min set in cMonteCarloGroup
Public methodsetDefaultTol
Public methodSetWait (Overrides cThreadWaitBaseSetWait.)
Public methodStopRun
Stop the current Monte Carlo trials
(Overrides cThreadWaitBaseStopRun(Int32).)
Public methodSupportedVariables
Returns which parameters can be pertubed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWait (Inherited from cThreadWaitBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodValue
Extension method; extract a value from an object by property name.
(Defined by Extensions.)
Top
See Also