Class NonBinaryRelation<TRange, TTrait>
Base class for all relations which have a match rating beyond simple pass/fail
Inheritance
NonBinaryRelation<TRange, TTrait>
Syntax
public abstract class NonBinaryRelation<TRange, TTrait> : Relation<TTrait>, ISimulatable, IRelation<TTrait>, IRelation, IRelationBase, IConditionBase, IRequiresTraits<TTrait>, IRequiresTraits, ICreateFromDataPair, IConfigurableMatchRating, IRangeBoundingOptions<TRange>, IRangeBoundingOptions
Type Parameters
Name |
Description |
TRange |
|
TTrait |
|
Fields
m_MaxBounded
Declaration
protected bool m_MaxBounded
Field Value
m_Maximum
Declaration
protected TRange m_Maximum
Field Value
m_MinBounded
Declaration
protected bool m_MinBounded
Field Value
m_Minimum
Declaration
protected TRange m_Minimum
Field Value
m_RatingConfig
Declaration
protected RatingConfiguration m_RatingConfig
Field Value
Properties
maxBounded
Declaration
public bool maxBounded { get; set; }
Property Value
Implements
maximum
Maximum value accepted for a match between the two child objects
Declaration
public TRange maximum { get; set; }
Property Value
Implements
minBounded
Declaration
public bool minBounded { get; set; }
Property Value
Implements
minimum
Minimum value accepted for a match between the two child objects
Declaration
public TRange minimum { get; set; }
Property Value
Implements
noMinMaxWarning
Declaration
public bool noMinMaxWarning { get; protected set; }
Property Value
ratingConfig
Declaration
public RatingConfiguration ratingConfig { get; set; }
Property Value
Implements
smallMinMaxRangeWarning
Declaration
public bool smallMinMaxRangeWarning { get; protected set; }
Property Value
Methods
OnRatingConfigChange()
Declaration
public virtual void OnRatingConfigChange()
Implements
Extension Methods