Skip to content

Commit

Permalink
Ruff format the code
Browse files Browse the repository at this point in the history
  • Loading branch information
sses7757 committed Jan 13, 2025
1 parent e63f5eb commit 28ea682
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/evox/algorithms/de_variants/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
__all__ = ["DE", "CoDE", "JaDE", "ODE", "SaDE", "SHADE"]


from .de import DE
from .code import CoDE
from .de import DE
from .jade import JaDE
from .ode import ODE
from .sade import SaDE
Expand Down
7 changes: 6 additions & 1 deletion src/evox/operators/crossover/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"simulated_binary_half",
]

from .differential_evolution import DE_arithmetic_recombination, DE_binary_crossover, DE_differential_sum, DE_exponential_crossover
from .differential_evolution import (
DE_arithmetic_recombination,
DE_binary_crossover,
DE_differential_sum,
DE_exponential_crossover,
)
from .sbx import simulated_binary
from .sbx_half import simulated_binary_half

0 comments on commit 28ea682

Please sign in to comment.