Click or drag to resize

PredictorType Structure

Defines an extra predictor's figures as being cumulative (increasing with time and naturally larger over longer periods) or average (normalized such that the length of the period has no effect).
Inheritance Hierarchy
SystemObject
  SystemValueType
    DegreeDays.Api.RegressionsPredictorType

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public struct PredictorType : IEquatable<PredictorType>

The PredictorType type exposes the following members.

Methods
 NameDescription
Public methodEquals(Object) Returns true if obj is the same PredictorType as this; false otherwise.
(Overrides ValueTypeEquals(Object))
Public methodEquals(PredictorType) Returns true if other represents the same predictor type; false otherwise.
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ValueTypeGetHashCode)
Public methodStatic memberGetValues Returns an array of the available PredictorType values.
Public methodToString Returns a non-null, non-empty string representation of this object in the format required to specify an PredictorType in the request XML ("Cumulative" or "Average").
(Overrides ValueTypeToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(PredictorType, PredictorType) Determines whether two specified PredictorType instances are equal.
Public operatorStatic memberInequality(PredictorType, PredictorType) Determines whether two specified PredictorType instances are not equal.
Top
Fields
 NameDescription
Public fieldStatic memberAverage For an extra predictor that is normalized such that the length of the period has no effect e.g. an Average measure of occupancy could be the percentage of full occupancy. A building could be 50% occupied for a week, or a month, or a year – longer periods would not mean larger figures.
Public fieldStatic memberCumulative For an extra predictor that increases with time and is naturally larger over longer periods e.g. a Cumulative measure of occupancy could be the total person-hours worked. If a typical day saw 110 person hours, a typical 5-day week might see 770 person hours (i.e. larger figures for longer periods).
Top
Thread Safety
Instances of this struct are immutable and safe for use from multiple threads at once. The only values that can exist are those declared here as static readonly fields.
Version History
VersionDescription
1.4 This was added in version 1.4.
See Also