GeneticProgramming Class
From Fight Game AI Demo
A Sandcastle Documented Class Library
| GeneticProgramming Class |
Genetic programming Class.
created by Steven Mcvey
Namespace: FightGameAIDemo.GP
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
C#
public class GeneticProgramming
The GeneticProgramming type exposes the following members.
| Name | Description | |
|---|---|---|
| GeneticProgramming |
Initializes a new instance of the GeneticProgramming class.
| |
| GeneticProgramming(GameWorld, AIFighter, NonAIFighter, Int32, Int32) |
Initializes a new instance of the GeneticProgramming class.
|
| Name | Description | |
|---|---|---|
| Close |
Sets a value indicating whether the distance of this NonAIFighter is close.
| |
| Crouched |
Sets a value indicating whether the distance of this NonAIFighter is crouched.
| |
| Far |
Sets a value indicating whether the distance of this NonAIFighter is far.
| |
| Generation |
Gets or sets the generation.
| |
| GrownProgram |
Gets or sets the grown program.
| |
| Medium |
Sets a value indicating whether the distance of this NonAIFighter is medium.
| |
| Population_size |
Gets or sets the population_size.
| |
| Torniment_size |
Gets or sets the torniment_size.
|
| Name | Description | |
|---|---|---|
| crossover_subtree |
Crossover_subtrees the specified parent1.
| |
| Draw_tree |
Draw_trees the specified input.
| |
| evolve |
Evolves the mating pool of this instance.
| |
| fitness_function |
Fitness functions gives a tree its fitness rating.
| |
| Gen_SubTree |
Generates the sub tree.
| |
| GetInterpTree |
Gets the interp tree.
| |
| Grow |
Grows this instance.
| |
| mutation_bit_flip |
Mutation using bit flit the specified program.
| |
| parser |
Parsers the specified input.
| |
| selection_torniment |
Selection_torniments the specified torniment_size.
| |
| setup |
Setups this instance.
| |
| sub_tree_or_node_selection |
Sub_tree_or_node_selection from the specified parent.
| |
| tree_traverse |
Tree_traverses the specified parent.
|
| Name | Description | |
|---|---|---|
| AI |
The AI
| |
| close |
The close
| |
| crouched |
The crouched
| |
| End |
The is crouched node byte
| |
| far |
The far
| |
| Functional_set_End |
The functional set end
| |
| Functional_set_Start |
The functional set start
| |
| GenCounter |
The generation counter
| |
| generation |
The generation list of indeviduals
| |
| generation_Size |
The generation size
| |
| grow_prog |
The grow prog list to tempererly hold the tree while it grows
| |
| grown_program |
The grown program once it has grown collected from grow_prog
| |
| gw |
the Game World
| |
| interp_tree |
The interpreted tree
| |
| interp_tree_builder |
The interpreted tree builder
| |
| isClose |
The is crouched node byte
| |
| isCrouched |
The is crouched node byte
| |
| isFar |
The is crouched node byte
| |
| isMedium |
The is crouched node byte
| |
| Kick |
The punch node byte
| |
| mating_pool |
The mating pool to be used in generating next generation of trees
| |
| Max_Depth |
The max depth allowed for the tree being generated
| |
| medium |
The medium
| |
| NAI |
The non-AI
| |
| PC | ||
| population_Size |
The population size
| |
| Program |
The program
| |
| Punch |
The punch node byte
| |
| Root_Node |
The root node
| |
| Special |
The punch node byte
| |
| Terminal_set_End |
The terminal set end
| |
| Terminal_set_Start |
The terminal set start
| |
| torniment_size |
The torniment size
| |
| Tree_Depth |
The tree depth
| |
| treeCounter |
The tree counter
|