Defined in constraints/constraints-edsl-fluent-api.ts:919
Methods
assign Gaps
assign Gaps( defaultProfile: Discrete < Schema > | Schema ) : Discrete < Schema >
Parameters
defaultProfile: Discrete < Schema > | Schema
Defined in constraints/constraints-edsl-fluent-api.ts:1062
changes
changes( ) : Windows
Defined in constraints/constraints-edsl-fluent-api.ts:1050
equal
equal( other: Discrete < Schema > | Schema ) : Windows
Defined in constraints/constraints-edsl-fluent-api.ts:1021
not Equal
not Equal( other: Discrete < Schema > | Schema ) : Windows
Defined in constraints/constraints-edsl-fluent-api.ts:1036
shift By
shift By( duration: Duration ) : Discrete < Schema >
Defined in constraints/constraints-edsl-fluent-api.ts:1078
transition
transition( from: Schema , to: Schema ) : Windows
Defined in constraints/constraints-edsl-fluent-api.ts:1008
value At
value At( timepoint: Spans ) : Discrete < Schema >
Defined in constraints/constraints-edsl-fluent-api.ts:967
Static
Resource
Resource< R > ( name: R ) : Discrete < Resource [ R ] >
Defined in constraints/constraints-edsl-fluent-api.ts:980
Static
Value
Value< Schema > ( value: Schema , interval?: Interval ) : Discrete < Schema >
Parameters
value: Schema
Optional
interval: Interval
Defined in constraints/constraints-edsl-fluent-api.ts:993
A profile of any type; a function from time to any value representable by JSON.
All profiles can be represented as Discrete, even Real profiles. Keep in mind that treating real profiles as discrete will lose access to the ordering operators (>, <, >=, <=). In most cases it is better not to do this.