org.osgeo.grass.v.v__kcv Maven / Gradle / Ivy
package org.osgeo.grass.v;
import org.jgrasstools.grass.utils.ModuleSupporter;
import oms3.annotations.Author;
import oms3.annotations.Documentation;
import oms3.annotations.Label;
import oms3.annotations.Description;
import oms3.annotations.Execute;
import oms3.annotations.In;
import oms3.annotations.UI;
import oms3.annotations.Keywords;
import oms3.annotations.License;
import oms3.annotations.Name;
import oms3.annotations.Out;
import oms3.annotations.Status;
@Description("Randomly partition points into test/train sets.")
@Author(name = "Grass Developers Community", contact = "http://grass.osgeo.org")
@Keywords("vector, statistics")
@Label("Grass/Vector Modules")
@Name("v__kcv")
@Status(Status.CERTIFIED)
@License("General Public License Version >=2)")
public class v__kcv {
@UI("infile,grassfile")
@Description("Name of input vector map")
@In
public String $$inputPARAMETER;
@UI("outfile,grassfile")
@Description("Name for output vector map")
@In
public String $$outputPARAMETER;
@Description("Number of partitions")
@In
public String $$kPARAMETER;
@Description("Name for new column to which partition number is written")
@In
public String $$columnPARAMETER = "part";
@Description("Use drand48()")
@In
public boolean $$dFLAG = false;
@Description("Quiet")
@In
public boolean $$qFLAG = false;
@Description("Allow output files to overwrite existing files")
@In
public boolean $$overwriteFLAG = false;
@Description("Verbose module output")
@In
public boolean $$verboseFLAG = false;
@Description("Quiet module output")
@In
public boolean $$quietFLAG = false;
@Execute
public void process() throws Exception {
ModuleSupporter.processModule(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy