liquidtype

package
v0.0.0-...-040724e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2019 License: BSD-3-Clause, GPL-2.0, BSD-3-Clause, + 1 more Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const BASEPolicy = "default" //"dna"

BASEPolicy is the policy to use as a starting point to produce custom LHPolicies

View Source
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

func FindBasePolicyInRun(run doe.Run) (wtype.LHPolicy, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL