示例#1
0
        public BinaryVectorEncoding(string name, int length)
            : base(name)
        {
            lengthParameter = new FixedValueParameter <IntValue>(Name + ".Length", new IntValue(length));
            Parameters.Add(lengthParameter);

            SolutionCreator = new RandomBinaryVectorCreator();
            RegisterParameterEvents();
            DiscoverOperators();
        }
 private RandomBinaryVectorCreator(RandomBinaryVectorCreator original, Cloner cloner) : base(original, cloner)
 {
 }
 private RandomBinaryVectorCreator(RandomBinaryVectorCreator original, Cloner cloner) : base(original, cloner) { }