/// <summary>
 /// Constructor for new fuzzy facet rules.
 /// </summary>
 /// <param name="f_Name"></param>
 /// <param name="fuzAttr"></param>
 /// <param name="attrWT"></param>
 /// <param name="facet_No"></param>
 /// <param name="f_Code"></param>
 public LM3CRULE(F_NAME f_Name, CLASS_OUT fuzAttr, int attrWT, int facet_No, int f_Code)
 {
     F_Name   = Enum.GetName(typeof(F_NAME), f_Name);
     FuzAttr  = Enum.GetName(typeof(CLASS_OUT), fuzAttr);
     AttrWT   = attrWT;
     Facet_No = facet_No;
     F_Code   = f_Code;
 }
Exemple #2
0
 /// <summary>
 /// Constructor for creating a new fuzzy rule record. A list of custom rules can be passed into the LandMapROptions but there is no guarantee that the new rules you set will crash the program.
 /// </summary>
 /// <param name="sortOrder"></param>
 /// <param name="fileIn"></param>
 /// <param name="attrIn"></param>
 /// <param name="classOut"></param>
 /// <param name="modelNo"></param>
 /// <param name="b"></param>
 /// <param name="bLow"></param>
 /// <param name="bHi"></param>
 /// <param name="b1"></param>
 /// <param name="b2"></param>
 /// <param name="d"></param>
 public LM3ARULE(int sortOrder, FILE_IN fileIn, ATTR_IN attrIn, CLASS_OUT classOut, int modelNo, double b, double bLow, double bHi, double b1, double b2, double d)
 {
     SortOrder = sortOrder;
     FileIn    = Enum.GetName(typeof(FILE_IN), fileIn);
     AttrIn    = Enum.GetName(typeof(ATTR_IN), attrIn);
     ClassOut  = Enum.GetName(typeof(CLASS_OUT), classOut);
     ModelNo   = modelNo;
     B         = b;
     BLow      = bLow;
     BHi       = bHi;
     B1        = b1;
     B2        = b2;
     D         = d;
 }