Skip to content

Commit

Permalink
Update license text
Browse files Browse the repository at this point in the history
  • Loading branch information
Macr0Nerd committed Jan 10, 2025
1 parent 50f629b commit e09d15f
Show file tree
Hide file tree
Showing 20 changed files with 132 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ However, this means that all the generational processing must be done in this fu
A template has been provided in `templates/generational_simulation_template.py`.

## License
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/project_dilemma/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/project_dilemma/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
15 changes: 15 additions & 0 deletions src/project_dilemma/config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import argparse
import os.path
import sys
Expand Down
15 changes: 15 additions & 0 deletions src/project_dilemma/interfaces/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from project_dilemma.interfaces.algorithm import Algorithm
from project_dilemma.interfaces.base import Generations, Round, Rounds, Simulations
from project_dilemma.interfaces.generational_simulation import GenerationalSimulation
Expand Down
2 changes: 1 addition & 1 deletion src/project_dilemma/interfaces/algorithm.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/project_dilemma/interfaces/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
15 changes: 15 additions & 0 deletions src/project_dilemma/interfaces/generational_simulation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from abc import abstractmethod
from collections.abc import MutableMapping, Sequence
from copy import deepcopy
Expand Down
2 changes: 1 addition & 1 deletion src/project_dilemma/interfaces/node.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/project_dilemma/interfaces/simulation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
15 changes: 15 additions & 0 deletions src/project_dilemma/object_loaders.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import importlib
import json
import os.path
Expand Down
15 changes: 15 additions & 0 deletions src/project_dilemma/simulations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from project_dilemma.simulations.basic_simulation import BasicSimulation
from project_dilemma.simulations.standard_simulation import StandardSimulation
from project_dilemma.simulations.standard_generational_simulation import StandardGenerationalSimulation
Expand Down
2 changes: 1 addition & 1 deletion src/project_dilemma/simulations/basic_simulation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import math

from project_dilemma.interfaces import GenerationalSimulation, Node
Expand Down
2 changes: 1 addition & 1 deletion src/project_dilemma/simulations/standard_simulation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
15 changes: 15 additions & 0 deletions templates/algorithm_template.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from collections.abc import Sequence
from typing import Self

Expand Down
15 changes: 15 additions & 0 deletions templates/generational_simulation_template.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
"""
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from project_dilemma.interfaces import GenerationalSimulation


Expand Down
2 changes: 1 addition & 1 deletion templates/simulation_template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright 2023 Gabriele Ron
Copyright 2023-2025 Gabriele Ron
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down

0 comments on commit e09d15f

Please sign in to comment.