GrammaticalEvolutionTools 1.1.0a1__tar.gz → 1.1.0.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/PKG-INFO +47 -29
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/README.md +46 -28
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/pyproject.toml +1 -1
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/LICENSE +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/agents/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/agents/agent.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/agents/agent_program.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/evolution/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/evolution/cross_over.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/evolution/mutation.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/grammars/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/grammars/grammar.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/grammars/grammar_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/meta/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/meta/base_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/meta/meta.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/base/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/base/program_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/base/program_tree.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/mods/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/mods/grammar/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/mods/grammar/grammar_program_addin.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/mods/grammar/node_converter.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/executable_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/non_terminal_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/root_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/basic_nodes/terminal_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/factor_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/integer_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/number_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/factor_nodes/rand_int_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/logic_nodes/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/logic_nodes/condition_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/logic_nodes/repeat_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/programs/nodes/logic_nodes/sequential_node.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/animation.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/layout.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/objects/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/objects/mixins/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/objects/mixins/reward.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/objects/world_object.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/position.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/base/world.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_layout.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_position.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world_agent.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world_animation.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world_object.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/grid_world/grid_world_reward.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/hex_world/__init__.py +0 -0
- {grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/worlds/open_world/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GrammaticalEvolutionTools
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.0.dev3
|
|
4
4
|
Summary: This package contains several tools for quickly setting up worlds and agents for Grammatical Evolution Projects.
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -19,24 +19,25 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
|
|
20
20
|
# Grammatical Evolution Tools
|
|
21
21
|
|
|
22
|
-
[](https://www.python.org/downloads/)
|
|
23
|
+
[](https://pypi.org/project/GrammaticalEvolutionTools/)
|
|
24
24
|
[](https://github.com/n-smith-byu/GrammaticalEvolutionTools/blob/main/LICENSE)
|
|
25
|
-
|
|
26
|
-

|
|
26
|
+

|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
---
|
|
30
|
-
|
|
31
29
|
## Table of Contents
|
|
32
30
|
* [Introduction](#introduction)
|
|
33
31
|
* [Features](#features)
|
|
32
|
+
* [Currently Available](#currently-available)
|
|
33
|
+
* [Coming Soon](#coming-soon)
|
|
34
34
|
* [Installation](#installation)
|
|
35
|
-
* [
|
|
36
|
-
* [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
* [
|
|
35
|
+
* [PyPI](#pypi)
|
|
36
|
+
* [Local Development](#local-development)
|
|
37
|
+
* [Prerequisites](#prerequisites)
|
|
38
|
+
* [Core Package](#core-package)
|
|
39
|
+
* [For Notebooks and Examples](#for-notebooks-and-examples)
|
|
40
|
+
* [For Development](#for-development-tests-and-docs)
|
|
40
41
|
* [Examples](#examples)
|
|
41
42
|
* [Running Tests](#running-tests)
|
|
42
43
|
* [Documentation](#documentation)
|
|
@@ -66,9 +67,32 @@ Whether you're building complex simulation environments or simple test cases, `g
|
|
|
66
67
|
|
|
67
68
|
## Installation
|
|
68
69
|
|
|
69
|
-
|
|
70
|
+
### PyPI
|
|
71
|
+
|
|
72
|
+
This package is available on PyPI. You can install it with:
|
|
73
|
+
```bash
|
|
74
|
+
pip install GrammaticalEvolutionTools
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
For pre-releases, you may need to specify the version:
|
|
78
|
+
```bash
|
|
79
|
+
pip install GrammaticalEvolutionTools==<VERSION>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
After installation:
|
|
70
83
|
|
|
71
|
-
|
|
84
|
+
```python
|
|
85
|
+
import getools
|
|
86
|
+
|
|
87
|
+
from getools.worlds.grid_world import GridWorld
|
|
88
|
+
from getools.grammars import Grammar
|
|
89
|
+
...
|
|
90
|
+
world = GridWorld(...)
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Local Development
|
|
94
|
+
|
|
95
|
+
#### Prerequisites
|
|
72
96
|
|
|
73
97
|
This project uses [Poetry](https://python-poetry.org/) for dependency management and packaging. Before installing the package, ensure you have Poetry installed on your system.
|
|
74
98
|
|
|
@@ -85,42 +109,35 @@ pipx install poetry
|
|
|
85
109
|
|
|
86
110
|
You can find more detailed installation instructions for Poetry on their official website: [Poetry Installation Guide](https://python-poetry.org/docs/#installation)
|
|
87
111
|
|
|
112
|
+
---
|
|
88
113
|
|
|
89
|
-
|
|
114
|
+
#### Core Package
|
|
90
115
|
|
|
91
116
|
To install the core package with only its essential dependencies (for integrating it into your own projects):
|
|
92
117
|
|
|
93
118
|
```bash
|
|
94
|
-
# Clone the repository
|
|
95
|
-
git clone
|
|
96
|
-
cd
|
|
119
|
+
# Clone the repository
|
|
120
|
+
git clone https://github.com/n-smith-byu/GrammaticalEvolutionTools.git
|
|
121
|
+
cd GrammaticalEvolutionTools
|
|
97
122
|
|
|
98
|
-
# Install the core package
|
|
123
|
+
# Install the core package
|
|
99
124
|
poetry install
|
|
100
125
|
```
|
|
101
126
|
|
|
102
|
-
|
|
127
|
+
#### For Notebooks and Examples
|
|
103
128
|
|
|
104
129
|
If you plan to explore the provided examples or run the Jupyter notebooks, you'll need to install the package with the `examples` dependency group.
|
|
105
130
|
|
|
106
131
|
```bash
|
|
107
|
-
# If you haven't already, clone the repository and navigate into it
|
|
108
|
-
# git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
|
|
109
|
-
# cd getools
|
|
110
|
-
|
|
111
132
|
# Install the package with examples dependencies
|
|
112
133
|
poetry install --with examples
|
|
113
134
|
```
|
|
114
135
|
|
|
115
|
-
|
|
136
|
+
#### For Development (Tests and Docs)
|
|
116
137
|
|
|
117
138
|
If you intend to modify the code, run tests, or build the documentation, install with the `dev` dependency group.
|
|
118
139
|
|
|
119
140
|
```bash
|
|
120
|
-
# If you haven't already, clone the repository and navigate into it
|
|
121
|
-
# git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
|
|
122
|
-
# cd getools
|
|
123
|
-
|
|
124
141
|
# Install in editable mode with dev dependencies
|
|
125
142
|
poetry install --with dev
|
|
126
143
|
```
|
|
@@ -190,3 +207,4 @@ This project is licensed under the [MIT License](https://github.com/n-smith-byu/
|
|
|
190
207
|
|
|
191
208
|
---
|
|
192
209
|
|
|
210
|
+
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
# Grammatical Evolution Tools
|
|
2
2
|
|
|
3
|
-
[](https://www.python.org/downloads/)
|
|
4
|
+
[](https://pypi.org/project/GrammaticalEvolutionTools/)
|
|
5
5
|
[](https://github.com/n-smith-byu/GrammaticalEvolutionTools/blob/main/LICENSE)
|
|
6
|
-
|
|
7
|
-

|
|
7
|
+

|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
---
|
|
11
|
-
|
|
12
10
|
## Table of Contents
|
|
13
11
|
* [Introduction](#introduction)
|
|
14
12
|
* [Features](#features)
|
|
13
|
+
* [Currently Available](#currently-available)
|
|
14
|
+
* [Coming Soon](#coming-soon)
|
|
15
15
|
* [Installation](#installation)
|
|
16
|
-
* [
|
|
17
|
-
* [
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
* [
|
|
16
|
+
* [PyPI](#pypi)
|
|
17
|
+
* [Local Development](#local-development)
|
|
18
|
+
* [Prerequisites](#prerequisites)
|
|
19
|
+
* [Core Package](#core-package)
|
|
20
|
+
* [For Notebooks and Examples](#for-notebooks-and-examples)
|
|
21
|
+
* [For Development](#for-development-tests-and-docs)
|
|
21
22
|
* [Examples](#examples)
|
|
22
23
|
* [Running Tests](#running-tests)
|
|
23
24
|
* [Documentation](#documentation)
|
|
@@ -47,9 +48,32 @@ Whether you're building complex simulation environments or simple test cases, `g
|
|
|
47
48
|
|
|
48
49
|
## Installation
|
|
49
50
|
|
|
50
|
-
|
|
51
|
+
### PyPI
|
|
52
|
+
|
|
53
|
+
This package is available on PyPI. You can install it with:
|
|
54
|
+
```bash
|
|
55
|
+
pip install GrammaticalEvolutionTools
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
For pre-releases, you may need to specify the version:
|
|
59
|
+
```bash
|
|
60
|
+
pip install GrammaticalEvolutionTools==<VERSION>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
After installation:
|
|
51
64
|
|
|
52
|
-
|
|
65
|
+
```python
|
|
66
|
+
import getools
|
|
67
|
+
|
|
68
|
+
from getools.worlds.grid_world import GridWorld
|
|
69
|
+
from getools.grammars import Grammar
|
|
70
|
+
...
|
|
71
|
+
world = GridWorld(...)
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Local Development
|
|
75
|
+
|
|
76
|
+
#### Prerequisites
|
|
53
77
|
|
|
54
78
|
This project uses [Poetry](https://python-poetry.org/) for dependency management and packaging. Before installing the package, ensure you have Poetry installed on your system.
|
|
55
79
|
|
|
@@ -66,42 +90,35 @@ pipx install poetry
|
|
|
66
90
|
|
|
67
91
|
You can find more detailed installation instructions for Poetry on their official website: [Poetry Installation Guide](https://python-poetry.org/docs/#installation)
|
|
68
92
|
|
|
93
|
+
---
|
|
69
94
|
|
|
70
|
-
|
|
95
|
+
#### Core Package
|
|
71
96
|
|
|
72
97
|
To install the core package with only its essential dependencies (for integrating it into your own projects):
|
|
73
98
|
|
|
74
99
|
```bash
|
|
75
|
-
# Clone the repository
|
|
76
|
-
git clone
|
|
77
|
-
cd
|
|
100
|
+
# Clone the repository
|
|
101
|
+
git clone https://github.com/n-smith-byu/GrammaticalEvolutionTools.git
|
|
102
|
+
cd GrammaticalEvolutionTools
|
|
78
103
|
|
|
79
|
-
# Install the core package
|
|
104
|
+
# Install the core package
|
|
80
105
|
poetry install
|
|
81
106
|
```
|
|
82
107
|
|
|
83
|
-
|
|
108
|
+
#### For Notebooks and Examples
|
|
84
109
|
|
|
85
110
|
If you plan to explore the provided examples or run the Jupyter notebooks, you'll need to install the package with the `examples` dependency group.
|
|
86
111
|
|
|
87
112
|
```bash
|
|
88
|
-
# If you haven't already, clone the repository and navigate into it
|
|
89
|
-
# git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
|
|
90
|
-
# cd getools
|
|
91
|
-
|
|
92
113
|
# Install the package with examples dependencies
|
|
93
114
|
poetry install --with examples
|
|
94
115
|
```
|
|
95
116
|
|
|
96
|
-
|
|
117
|
+
#### For Development (Tests and Docs)
|
|
97
118
|
|
|
98
119
|
If you intend to modify the code, run tests, or build the documentation, install with the `dev` dependency group.
|
|
99
120
|
|
|
100
121
|
```bash
|
|
101
|
-
# If you haven't already, clone the repository and navigate into it
|
|
102
|
-
# git clone [https://github.com/n-smith-byu/getools.git](https://github.com/n-smith-byu/GrammaticalEvolutionTools.git)
|
|
103
|
-
# cd getools
|
|
104
|
-
|
|
105
122
|
# Install in editable mode with dev dependencies
|
|
106
123
|
poetry install --with dev
|
|
107
124
|
```
|
|
@@ -170,3 +187,4 @@ This project is licensed under the [MIT License](https://github.com/n-smith-byu/
|
|
|
170
187
|
|
|
171
188
|
|
|
172
189
|
---
|
|
190
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "GrammaticalEvolutionTools"
|
|
3
|
-
version = "1.1.
|
|
3
|
+
version = "1.1.0.dev3"
|
|
4
4
|
description = "This package contains several tools for quickly setting up worlds and agents for Grammatical Evolution Projects."
|
|
5
5
|
authors = ["Nick Smith <nicholas.smith0014@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
File without changes
|
{grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{grammaticalevolutiontools-1.1.0a1 → grammaticalevolutiontools-1.1.0.dev3}/src/getools/meta/meta.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|