Skip to content

Commit

Permalink
更新文档参数
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXF1001 committed Oct 24, 2023
1 parent 4e44bed commit 17c85a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/en/args.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ help(sko.AFSA.AFSA)
| constraint\_eq | tuple() | equal constraint |
| constraint\_ueq | tuple() | unequal constraint |
| precision | 1e\-7 | precision,int/float or list |
| n_processes | 0 | number of processes, 0 means use all cpu |


### GA_TSP
Expand Down Expand Up @@ -57,6 +58,7 @@ help(sko.AFSA.AFSA)
| c1 | 0\.5 | cognitive parameter |
| c2 | 0\.5 | social parameter |
| constraint\_ueq | tuple() | unequal constraint |
| n_processes | 0 | number of processes, 0 means use all cpu |

### DE

Expand All @@ -72,6 +74,7 @@ help(sko.AFSA.AFSA)
| ub | 1 | upper bound of variables |
| constraint\_eq | tuple() | equal constraint |
| constraint\_ueq | tuple() | unequal constraint |
| n_processes | 0 | number of processes, 0 means use all cpu |

### SA

Expand Down
5 changes: 5 additions & 0 deletions docs/zh/args.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ help(sko.AFSA.AFSA)
| constraint\_eq | 空元组 | 等式约束 |
| constraint\_ueq | 空元组 | 不等式约束 |
| precision | 1e\-7 | 精准度,int/float或者它们组成的列表 |
| n_processes | 0 | 使用的核数, 0表示使用全部的核 |


### GA_TSP
Expand Down Expand Up @@ -57,6 +58,8 @@ help(sko.AFSA.AFSA)
| c1 | 0\.5 | 个体记忆 |
| c2 | 0\.5 | 集体记忆 |
| constraint\_ueq | 空元组 | 不等式约束 |
| n_processes | 0 | 使用的核数, 0表示使用全部的核 |


### DE

Expand All @@ -72,6 +75,8 @@ help(sko.AFSA.AFSA)
| ub | 1 | 每个自变量的最大值 |
| constraint\_eq | 空元组 | 等式约束 |
| constraint\_ueq | 空元组 | 不等式约束 |
| n_processes | 0 | 使用的核数, 0表示使用全部的核 |


### SA

Expand Down

0 comments on commit 17c85a8

Please sign in to comment.