org.jgap.gp.impl
Class CommandFactory
- java.lang.Object
-
- org.jgap.gp.impl.CommandFactory
-
public class CommandFactory extends java.lang.ObjectEasily creates single and batched consistent command objects.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor and Description CommandFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static CommandGene[]createReadOnlyCommands(CommandGene[] a_target, GPConfiguration a_conf, java.lang.Class a_type, java.lang.String a_prefix, int a_count, int a_startIndex, boolean a_noValidation)static CommandGene[]createStackCommands(CommandGene[] a_target, GPConfiguration a_conf, java.lang.Class a_type)static CommandGene[]createStoreCommands(CommandGene[] a_target, GPConfiguration a_conf, java.lang.Class a_type, java.lang.String a_prefix, int a_count)static CommandGene[]createWriteOnlyCommands(CommandGene[] a_target, GPConfiguration a_conf, java.lang.Class a_type, java.lang.String a_prefix, int a_count, boolean a_noValidation)
-
-
-
Method Detail
-
createStoreCommands
public static CommandGene[] createStoreCommands(CommandGene[] a_target, GPConfiguration a_conf, java.lang.Class a_type, java.lang.String a_prefix, int a_count) throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
-
createWriteOnlyCommands
public static CommandGene[] createWriteOnlyCommands(CommandGene[] a_target, GPConfiguration a_conf, java.lang.Class a_type, java.lang.String a_prefix, int a_count, boolean a_noValidation) throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
-
createReadOnlyCommands
public static CommandGene[] createReadOnlyCommands(CommandGene[] a_target, GPConfiguration a_conf, java.lang.Class a_type, java.lang.String a_prefix, int a_count, int a_startIndex, boolean a_noValidation) throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
-
createStackCommands
public static CommandGene[] createStackCommands(CommandGene[] a_target, GPConfiguration a_conf, java.lang.Class a_type) throws InvalidConfigurationException
- Throws:
InvalidConfigurationException
-
-
DMelt 3.0 © DataMelt by jWork.ORG