Accord.Genetic.GEPChromosome.ToStringNative C# (CSharp) Method

ToStringNative() public method

Get string representation of the chromosome.

The method is used for debugging mostly.

public ToStringNative ( ) : string
return string
        public string ToStringNative()
        {
            StringBuilder sb = new StringBuilder();

            foreach (IGPGene gene in genes)
            {
                sb.Append(gene.ToString());
                sb.Append(" ");
            }
            return sb.ToString();
        }