Created package uninformed for uninformed search algorithms and moved the implementations to this package
This commit is contained in:
parent
bb95a412d8
commit
4a0b04aefe
@ -1,4 +1,4 @@
|
|||||||
package search.breadthfirstsearch;
|
package search.uninformed.breadthfirstsearch;
|
||||||
|
|
||||||
import search.Node;
|
import search.Node;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package search.depthfirstsearch;
|
package search.uninformed.depthfirstsearch;
|
||||||
|
|
||||||
import search.Node;
|
import search.Node;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package search.iterativedeepening;
|
package search.uninformed.iterativedeepening;
|
||||||
|
|
||||||
import search.Node;
|
import search.Node;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package search.breadthfirstsearch;
|
package search.uninformed.breadthfirstsearch;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import search.EightPuzzleNode;
|
import search.EightPuzzleNode;
|
||||||
@ -32,7 +32,7 @@ class BreadthFirstSearchTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void shouldReturnCorrectTargetChubekNode()
|
void shouldReturnCorrectTargetCubekNode()
|
||||||
{
|
{
|
||||||
int[][] state = {
|
int[][] state = {
|
||||||
{2, 0, 4},
|
{2, 0, 4},
|
@ -1,4 +1,4 @@
|
|||||||
package search.depthfirstsearch;
|
package search.uninformed.depthfirstsearch;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import search.EightPuzzleNode;
|
import search.EightPuzzleNode;
|
@ -1,12 +1,8 @@
|
|||||||
package search.iterativedeepening;
|
package search.uninformed.iterativedeepening;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import search.EightPuzzleNode;
|
import search.EightPuzzleNode;
|
||||||
import search.breadthfirstsearch.BreadthFirstSearch;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
|
||||||
import static search.SearchTestUtils.printSolution;
|
import static search.SearchTestUtils.printSolution;
|
||||||
|
|
||||||
class IterativeDeepeningTest
|
class IterativeDeepeningTest
|
||||||
@ -34,7 +30,7 @@ class IterativeDeepeningTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void shouldReturnCorrectTargetChubekNode()
|
void shouldReturnCorrectTargetCubekNode()
|
||||||
{
|
{
|
||||||
int[][] state = {
|
int[][] state = {
|
||||||
{2, 0, 4},
|
{2, 0, 4},
|
Loading…
Reference in New Issue
Block a user