int X [get, set]
int Y [get, set]
Definition at line 24 of file Promotions.cs .
◆ PointPromotion()
BioGTK.PointPromotion.PointPromotion
(
ForeGround optype )
Definition at line 26 of file Promotions.cs .
27 {
28 this.mType = PromotionType.Point;
29 this.foreGround = optype;
30 }
◆ GetInput()
override float[] BioGTK.PointPromotion.GetInput
(
)
Definition at line 33 of file Promotions.cs .
34 {
35 return new float [2] { X ,Y};
36 }
◆ GetLable()
override float[] BioGTK.PointPromotion.GetLable
(
)
Definition at line 37 of file Promotions.cs .
38 {
39 if (this.foreGround == ForeGround.foreground)
40 {
41 return new float [1] { 1 };
42 }
43 else
44 {
45 return new float [1] { 0 };
46 }
47 }
int BioGTK.PointPromotion.X
get set
int BioGTK.PointPromotion.Y
get set
The documentation for this class was generated from the following file: