Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Freakwill committed May 13, 2024
1 parent 06a94a5 commit 80ebf94
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
## Why

> -- Why is the package named as “pyrimidine”?
>
> -- Because it begins with “py”.
>
> -- Are you kiding?
>
> -- No, I am serious.
If you have more questions, then log in [google group](https://groups.google.com/g/pyrimidine) and post your questions.
Expand Down Expand Up @@ -56,7 +59,7 @@ _Individual2 = MixedIndividual[_Chromosome1, _Chromosome2]
$s$ of type $S$ is a container of $a:A$, represented as follows:

```
s={a:A}:S
s = {a:A}:S or s: S[A]
```

We could define a population as a container of individuals or chromosomes, and an individual is a container of chromosomes.
Expand All @@ -70,7 +73,7 @@ The methods are the functions or operators defined on $s$.
### Main classes

- BaseGene: the gene of chromosome
- BaseChromosome: sequence of genes, represents part of a solution
- BaseChromosome: sequence of genes, represents part of a solution (or an entire solution)
- BaseIndividual: sequence of chromosomes, represents a solution of a problem
- BasePopulation: a container of individuals, represents a container of a problem
also the state of a stachostic process
Expand Down
Binary file modified logo-ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyrimidine"
version = "1.6"
version = "1.6.1"
description = "A competitive framework for GA, designed by thorough OOP"
authors = ["William Song <[email protected]>"]

Expand Down
2 changes: 1 addition & 1 deletion pyrimidine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from .ba import *


__version__ = "1.6"
__version__ = "1.6.1"

__template__ = """
from pyrimidine.chromosome import BinaryChromosome
Expand Down

0 comments on commit 80ebf94

Please sign in to comment.