Documentation ¶
Index ¶
- func ConvertStringToFloat64(sMap map[string]*AtmosphereControl) map[float64]*AtmosphereControl
- func MonteCarlo(failure float64) bool
- func ParseAtmosphereControlFile(filename string) map[float64]*AtmosphereControl
- func ParseAtmosphereInputDependency(fileName string) map[string][]*ValueFail
- func Reader()
- type AtmosphereControl
- type AtmosphereControlManager
- type AtmosphereDependency
- type AtmosphereFailManager
- type PoissonGenerator
- type UniformGenerator
- type ValueFail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStringToFloat64 ¶
func ConvertStringToFloat64(sMap map[string]*AtmosphereControl) map[float64]*AtmosphereControl
func MonteCarlo ¶
func ParseAtmosphereControlFile ¶
func ParseAtmosphereControlFile(filename string) map[float64]*AtmosphereControl
Types ¶
type AtmosphereControl ¶
type AtmosphereControlManager ¶
type AtmosphereControlManager struct {
// contains filtered or unexported fields
}
func NewAtmosphereControlManager ¶
func NewAtmosphereControlManager(atmControlFileName string) *AtmosphereControlManager
func (*AtmosphereControlManager) AtmosphereControlManagerProcess ¶
func (ACM *AtmosphereControlManager) AtmosphereControlManagerProcess(TP *SANProcess, data interface{})
type AtmosphereDependency ¶
type AtmosphereDependency struct {
// contains filtered or unexported fields
}
func GetAtmosphereDependencyRoot ¶
func GetAtmosphereDependencyRoot(parameter string, data map[string][]*ValueFail) *AtmosphereDependency
type AtmosphereFailManager ¶
type AtmosphereFailManager struct {
// contains filtered or unexported fields
}
func NewAtmosphereFailManager ¶
func NewAtmosphereFailManager(acm *AtmosphereControlManager, iob *IOBalancer) *AtmosphereFailManager
func (*AtmosphereFailManager) AtmosphereDiskFailManagerProcess ¶
func (AFM *AtmosphereFailManager) AtmosphereDiskFailManagerProcess(TP *SANProcess, data interface{})
func (*AtmosphereFailManager) PoissonBreakManagerProcess ¶
func (AFM *AtmosphereFailManager) PoissonBreakManagerProcess(TP *SANProcess, data interface{})
func (*AtmosphereFailManager) PoissonRepairManagerProcess ¶
func (AFM *AtmosphereFailManager) PoissonRepairManagerProcess(TP *SANProcess, data interface{})
type PoissonGenerator ¶
type PoissonGenerator struct {
// contains filtered or unexported fields
}
func NewPoissonGenerator ¶
func NewPoissonGenerator(seed int64) *PoissonGenerator
func (*PoissonGenerator) Poisson ¶
func (prng *PoissonGenerator) Poisson(lambda float64) int64
Poisson returns a random number of possion distribution
type UniformGenerator ¶
type UniformGenerator struct {
// contains filtered or unexported fields
}
func NewUniformGenerator ¶
func NewUniformGenerator(seed int64) *UniformGenerator
Click to show internal directories.
Click to hide internal directories.