Logo GenPRES

ValueRange Type

Represents a domain of rational numbers.

A ValueRange can be one of the following:

  • Unrestricted: any rational number
  • NonZeroNoneNegative: any positive rational number greater than zero
  • Min: has a minimum
  • Max: has a maximum
  • MinMax: has both a minimum and maximum
  • Incr: any number that is a multiple of an increment
  • MinIncr: a minimum with the domain consisting of multiples of one increment
  • IncrMax: a domain of multiples of an increment with a maximum
  • MinIncrMax: a minimum with a domain of multiples of an increment with a maximum
  • ValSet: a set of discrete values

Union cases

Union case Description

Incr Increment

Full Usage: Incr Increment

Parameters:
Item : Increment

IncrMax(incr, max)

Full Usage: IncrMax(incr, max)

Parameters:
incr : Increment
max : Maximum

Max Maximum

Full Usage: Max Maximum

Parameters:
Item : Maximum

Min Minimum

Full Usage: Min Minimum

Parameters:
Item : Minimum

MinIncr(min, incr)

Full Usage: MinIncr(min, incr)

Parameters:
min : Minimum
incr : Increment

MinIncrMax(min, incr, max)

Full Usage: MinIncrMax(min, incr, max)

Parameters:
min : Minimum
incr : Increment
max : Maximum

MinMax(min, max)

Full Usage: MinMax(min, max)

Parameters:
min : Minimum
max : Maximum

NonZeroPositive

Full Usage: NonZeroPositive

Unrestricted

Full Usage: Unrestricted

ValSet ValueSet

Full Usage: ValSet ValueSet

Parameters:
Item : ValueSet

Instance members

Instance member Description

this.IsIncr

Full Usage: this.IsIncr

Returns: bool
Returns: bool

this.IsIncrMax

Full Usage: this.IsIncrMax

Returns: bool
Returns: bool

this.IsMax

Full Usage: this.IsMax

Returns: bool
Returns: bool

this.IsMin

Full Usage: this.IsMin

Returns: bool
Returns: bool

this.IsMinIncr

Full Usage: this.IsMinIncr

Returns: bool
Returns: bool

this.IsMinIncrMax

Full Usage: this.IsMinIncrMax

Returns: bool
Returns: bool

this.IsMinMax

Full Usage: this.IsMinMax

Returns: bool
Returns: bool

this.IsNonZeroPositive

Full Usage: this.IsNonZeroPositive

Returns: bool
Returns: bool

this.IsUnrestricted

Full Usage: this.IsUnrestricted

Returns: bool
Returns: bool

this.IsValSet

Full Usage: this.IsValSet

Returns: bool
Returns: bool

Type something to start searching.