Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hrtwt committed Dec 26, 2022
1 parent 3826ba8 commit 9726e8d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $ java -jar path/to/kGenProg.jar
| `--scope` | Specifies the scope from which source code to be reused is selected. (`PROJECT`, `PACKAGE`, `FILE`). | `PACKAGE` |
| `--fault-localization` | Specifies technique of fault localization. (`Ample`, `Jaccard`, `Ochiai`, `Tarantula`, `Zoltar`). | `Ochiai` |
| `--mutation-type` | Specifies mutation type. (`Simple`, `Heuristic`). | `Simple` |
| `--crossover-type` | Specifies crossover type. (`Random`, `Single`, `Uniform`, `Cascade`). | `Random` |
| `--crossover-type` | Specifies crossover type. (`Random`, `SinglePoint`, `Uniform`, `Cascade`). | `Random` |
| `--crossover-first-variant` | Specifies first variant selection strategy for crossover. (`Elite`, `Random`). | `Random` |
| `--crossover-second-variant` | Specifies second variant selection strategy for crossover. (`Elite`, `GeneSimilarity`, `Random`, `TestSimilarity`). | `Random` |
| `--patch-output` | Writes patch files to the output directory specified in `-o` option. | `false` |
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ $ java -jar path/to/kGenProg.jar
| `--scope` | 再利用候補の範囲(`PROJECT``PACKAGE``FILE`| `PACKAGE` |
| `--fault-localization` | 欠陥限局の手法(Fault Localization)(`Ample``Jaccard``Ochiai``Tarantula``Zoltar`| `Ochiai` |
| `--mutation-type` | 変異種別(`Simple``Heuristic`| `Simple` |
| `--crossover-type` | 交叉種別(`Random``Single``Uniform`, `Cascade`| `Random` |
| `--crossover-type` | 交叉種別(`Random``SinglePoint``Uniform`, `Cascade`| `Random` |
| `--crossover-first-variant` | 交叉対象の第一バリアントの選択方法(`Elite``Random`| `Random` |
| `--crossover-second-variant` | 交叉対象の第二バリアントの選択方法(`Elite``GeneSimilarity``Random``TestComplementary`) | `Random` |
| `--patch-output` | 解のパッチファイル生成の有無 | `false` |
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/jp/kusumotolab/kgenprog/ga/variant/Variant.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Variant {
* @param gene この個体がもつべき遺伝子
* @param generatedSourceCode この個体のソースコード
* @param testResults この個体のテスト結果
* @param fitness この個体のの評価値
* @param fitness この個体の評価値
* @param suspiciousnesses この個体のソースコードに関する疑惑値
* @param historicalElement この個体が生成されるまでの過程
*/
Expand Down Expand Up @@ -95,7 +95,7 @@ public boolean isBuildSucceeded() {
}

/**
* @return この個体がビルドにに取り組んだかどうか
* @return この個体がビルドに取り組んだかどうか
* (AST の生成に失敗した場合・重複している場合はビルドに取り組まない)
*/
public boolean triedBuild() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public Variant getInitialVariant() {
}

/**
* @return 現在の世代数をを返す
* @return 現在の世代数を返す
*/
public OrdinalNumber getGenerationNumber() {
return generation;
Expand Down

0 comments on commit 9726e8d

Please sign in to comment.