Example #1
0
func NewEpistemic(system *system.System, config *config.Uncertainty) (Uncertainty, error) {
	clone := *config
	clone.Distribution, clone.Correlation, clone.Variance = "Uniform()", 0.0, 1.0
	return newBase(system, system.ReferenceTime(), &clone)
}
Example #2
0
func NewAleatory(system *system.System, config *config.Uncertainty) (Uncertainty, error) {
	return newBase(system, system.ReferenceTime(), config)
}