forked from eugenp/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
36 additions
and
158 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
algorithms-genetic/roundUpToHundred/src/com/java/src/RoundUpToHundred.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
algorithms-genetic/roundUpToHundred/src/com/java/src/RoundUpToHundredTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
algorithms-miscellaneous-1/roundUpToHundred/src/com/java/src/RoundUpToHundredTest.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
algorithms-miscellaneous-1/src/main/resources/maze/maze1.txt
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
algorithms-miscellaneous-1/src/main/resources/maze/maze2.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
algorithms-miscellaneous-2/roundUpToHundred/src/com/java/src/RoundUpToHundred.java
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
algorithms-miscellaneous-2/src/main/java/com/baeldung/algorithms/RunAlgorithm.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.baeldung.algorithms; | ||
|
||
import java.util.Scanner; | ||
|
||
import com.baeldung.algorithms.slope_one.SlopeOne; | ||
|
||
public class RunAlgorithm { | ||
|
||
public static void main(String[] args) throws InstantiationException, IllegalAccessException { | ||
Scanner in = new Scanner(System.in); | ||
System.out.println("1 - Slope One"); | ||
System.out.println("2 - Dijkstra"); | ||
int decision = in.nextInt(); | ||
switch (decision) { | ||
case 1: | ||
SlopeOne.slopeOne(3); | ||
break; | ||
case 2: | ||
System.out.println("Please run the DijkstraAlgorithmLongRunningUnitTest."); | ||
break; | ||
default: | ||
System.out.println("Unknown option"); | ||
break; | ||
} | ||
in.close(); | ||
} | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ed/src/com/java/src/RoundUpToHundred.java → ...lgorithms/roundedup/RoundUpToHundred.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.java.src; | ||
package com.baeldung.algorithms.roundedup; | ||
|
||
import java.util.Scanner; | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...rc/com/java/src/RoundUpToHundredTest.java → ...s/roundedup/RoundUpToHundredUnitTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
algorithms-sorting/roundUpToHundred/src/com/java/src/RoundUpToHundred.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
algorithms-sorting/roundUpToHundred/src/com/java/src/RoundUpToHundredTest.java
This file was deleted.
Oops, something went wrong.