C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
LossRank.cs
Go to the documentation of this file.
1using System.Runtime.Serialization;
3
4namespace AnalyzeRe.Layers
5{
10 [APITypeAlias("LossRank")]
12 {
13 // TODO: Uncomment when criterion is fixed (ARE-6251 for context)
14 // /// <summary>The criteria used to order occurrences for selection.</summary>
15 // public enum Criterion
16 // {
17 // /// <summary>Occurrences with the largest loss should be selected.</summary>
18 // [EnumMember(Value = "LARGEST_LOSS")]
19 // LargestLoss = 0,
20
21 // /// <summary>Occurrences with the smallest loss should be selected.</summary>
22 // [EnumMember(Value = "SMALLEST_LOSS")]
23 // SmallestLoss = 1
24 // }
25
26 #region Public Properties
28 [DataMember(Order = 20)]
29 [GreaterThan(0, true)]
30 public int count { get; set; }
31
32 // TODO: Uncomment when criterion is fixed (ARE-6251 for context)
34 // [DataMember(Order = 21)]
35 // public Criterion criterion { get; set; }
36
42 [DataMember(Order = 22)]
43 public bool invert { get; set; }
44 #endregion Public Properties
45 }
46}
Abstract representation of a layer. This resource type cannot be instantiated instead derived resourc...
The LossRank layer allows one to select a subset of occurrences in a trial year based on the relative...
Definition LossRank.cs:12
int count
The number of occurrences to select in a trial year.
Definition LossRank.cs:30
bool invert
A Boolean flag determining which occurrences are selected. If FALSE (default), the occurrences that p...
Definition LossRank.cs:43