elements() public method

public elements ( ) : global::java.util.Enumeration
return global::java.util.Enumeration
コード例 #1
0
ファイル: SimilarityAnalysis.cs プロジェクト: wushian/MLEA
        ///   
        ///    <summary> * Returns an enumeration of all the available options..
        ///    * </summary>
        ///    * <returns> an enumeration of all available options. </returns>
        ///    
        public virtual java.util.Enumeration listOptions()
        {
            Vector newVector = new Vector(6);

            newVector.Add(new Option("\tSpecify a set of attributes which form the template." + "\n\tEg. 1,3,5-7.", "T", 1, "-T <start set>"));
            newVector.Add(new Option("\tEpsilon.\n" + "\t(default = 10)", "e", 1, "-e <num>"));
            newVector.Add(new Option("\tSpecifies the number of coefficients to use.\n" + "\t(default = 3)", "r", 1, "-r <num>"));
            newVector.Add(new Option("\tUse FFT for calculation of DFTs\n" + "\t(default = false)", "f", 0, "-f <true|false>"));

            return newVector.elements();
        }
コード例 #2
0
ファイル: FourierTransform.cs プロジェクト: wushian/MLEA
        ///   
        ///    <summary> * Returns an enumeration of all the available options..
        ///    * </summary>
        ///    * <returns> an enumeration of all available options. </returns>
        ///    
        public virtual java.util.Enumeration listOptions()
        {
            Vector newVector = new Vector(2);

            newVector.Add(new Option("\tSpecifies the number of coefficients to use.\n" + "\t(default = 5)", "r", 1, "-r <num>"));
            newVector.Add(new Option("\tUse FFT.\n" + "\t(default = false)", "F", 1, "-F <num>"));

            return newVector.elements();
        }