Documentation ¶
Index ¶
- Constants
- func FindBasePolicyInRun(run doe.Run) (wtype.LHPolicy, error)
- func PolicyMakerFromBytes(data []byte, basePolicy wtype.PolicyName) (policyMap map[string]wtype.LHPolicy, err error)
- func PolicyMakerfromRuns(basepolicy string, runs []doe.Run, nameprepend string, ...) (policies []wtype.LHPolicy, names []string, err error)
Constants ¶
const BASEPolicy = "default" //"dna"
BASEPolicy is the policy to use as a starting point to produce custom LHPolicies
const BasePolicyHeader = "BasePolicy"
BasePolicyHeader is the expected factor name to specify the BasePolicy from a run in a design file.
Variables ¶
This section is empty.
Functions ¶
func FindBasePolicyInRun ¶
FindBasePolicyInRun searches for a factor "BasePolicy" in the run of the doe design. if none is found, an empty policy is returned along with an error.
func PolicyMakerFromBytes ¶
func PolicyMakerFromBytes(data []byte, basePolicy wtype.PolicyName) (policyMap map[string]wtype.LHPolicy, err error)
PolicyMakerFromBytes creates a policy map from a design file in the format of a JMP design file. Any valid parameter name and corresponding parameter type from aparam.go are valid entries.
func PolicyMakerfromRuns ¶
func PolicyMakerfromRuns(basepolicy string, runs []doe.Run, nameprepend string, concatfactorlevelsinname bool) (policies []wtype.LHPolicy, names []string, err error)
PolicyMakerfromRuns creates a policy map from a set of doe Runs in the format of a JMP design file. Any valid parameter name and corresponding parameter type from aparam.go are valid entries.
Types ¶
This section is empty.