示例#1
0
文件: EAN8.cs 项目: xgalv/Cryptool2
 public EAN8(VisualEncoder caller) : base(caller) /*empty*/ }
示例#2
0
文件: QRCode.cs 项目: xgalv/Cryptool2
 public QRCode(VisualEncoder caller) : base(caller) /*empty*/ }
示例#3
0
文件: Code39.cs 项目: xgalv/Cryptool2
 public Code39(VisualEncoder caller) : base(caller) /*empty*/ }
示例#4
0
文件: PDF417.cs 项目: xgalv/Cryptool2
 public PDF417(VisualEncoder caller) : base(caller) /*empty*/ }
示例#5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (BehaviorName.Length != 0)
            {
                hash ^= BehaviorName.GetHashCode();
            }
            if (TrainerType.Length != 0)
            {
                hash ^= TrainerType.GetHashCode();
            }
            if (ExtrinsicRewardEnabled != false)
            {
                hash ^= ExtrinsicRewardEnabled.GetHashCode();
            }
            if (GailRewardEnabled != false)
            {
                hash ^= GailRewardEnabled.GetHashCode();
            }
            if (CuriosityRewardEnabled != false)
            {
                hash ^= CuriosityRewardEnabled.GetHashCode();
            }
            if (RndRewardEnabled != false)
            {
                hash ^= RndRewardEnabled.GetHashCode();
            }
            if (BehavioralCloningEnabled != false)
            {
                hash ^= BehavioralCloningEnabled.GetHashCode();
            }
            if (RecurrentEnabled != false)
            {
                hash ^= RecurrentEnabled.GetHashCode();
            }
            if (VisualEncoder.Length != 0)
            {
                hash ^= VisualEncoder.GetHashCode();
            }
            if (NumNetworkLayers != 0)
            {
                hash ^= NumNetworkLayers.GetHashCode();
            }
            if (NumNetworkHiddenUnits != 0)
            {
                hash ^= NumNetworkHiddenUnits.GetHashCode();
            }
            if (TrainerThreaded != false)
            {
                hash ^= TrainerThreaded.GetHashCode();
            }
            if (SelfPlayEnabled != false)
            {
                hash ^= SelfPlayEnabled.GetHashCode();
            }
            if (CurriculumEnabled != false)
            {
                hash ^= CurriculumEnabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#6
0
 protected DimCodeEncoder(VisualEncoder caller)
 {
     this.caller = caller;
 }