Skip to content

Commit

Permalink
release v0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rqcker committed Jun 25, 2024
1 parent 87964c6 commit 3b24cfa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion sais/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
from .symbiotic_ais import run
from .benchmarks import benchmark_result

# define the public interface of the package
# define the public user interface of the package
__all__ = ['run', 'benchmark_result']
6 changes: 3 additions & 3 deletions sais/symbiotic_ais.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ def run(population_size, benchmark_number):

# update the end time
end_time = time.time()
tol_time = end_time - start_time
duration = end_time - start_time
# result display
print('Running Time: %s Secounds' % tol_time)
print('Running Time: %s Secounds' % duration)
print("Best Fitness:", best_fitness)
print("Best Antibody:", best_antibody)
# get the best solution
return best_antibody, best_fitness, tol_time, \
return best_antibody, best_fitness, duration, \
iterations_number, iteration_results
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@

setup(
name='sais',
version='0.2.3',
version='0.2.4',
packages=find_packages(),
description='Symbiotic Artificial Immune Systems',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Junhao',
author_email='junhao.song23@imperial.ac.uk',
url='https://github.com/Rqcker/SymbioticAIS',
project_urls={
'Homepage': 'https://github.com/Rqcker/SymbioticAIS',
},
install_requires=[
# requires list and version
'numpy>=1.23.5'
Expand Down

0 comments on commit 3b24cfa

Please sign in to comment.