Skip to content

Commit

Permalink
BAEL-2797 wrong renaming fixed on algorithms package
Browse files Browse the repository at this point in the history
  • Loading branch information
anilkivilcim.eray committed Apr 4, 2019
1 parent 94bf176 commit 64bc79b
Show file tree
Hide file tree
Showing 64 changed files with 85 additions and 66 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.automata;
package com.baeldung.algorithms.automata;

/**
* Finite state machine.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.automata;
package com.baeldung.algorithms.automata;

/**
* Default implementation of a finite state machine.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.automata;
package com.baeldung.algorithms.automata;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.automata;
package com.baeldung.algorithms.automata;


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.automata;
package com.baeldung.algorithms.automata;

/**
* State. Part of a finite state machine.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.automata;
package com.baeldung.algorithms.automata;

/**
* Transition in a finite State machine.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.binarysearch;
package com.baeldung.algorithms.binarysearch;

import java.util.Arrays;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;

import java.util.Arrays;
import java.util.Iterator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;

import org.paukov.combinatorics3.Generator;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;

import java.util.Arrays;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;

import java.util.ArrayList;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;

import java.util.ArrayList;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;

import java.util.ArrayList;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.enumstatemachine;
package com.baeldung.algorithms.enumstatemachine;

public enum LeaveRequestState {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.factorial;
package com.baeldung.algorithms.factorial;

import java.math.BigInteger;
import java.util.stream.LongStream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.hillclimbing;
package com.baeldung.algorithms.hillclimbing;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.hillclimbing;
package com.baeldung.algorithms.hillclimbing;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.kthlargest;
package com.baeldung.algorithms.kthlargest;

import java.util.Arrays;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.baeldung.math.mcts.montecarlo;
package com.baeldung.algorithms.mcts.montecarlo;

import java.util.List;

import com.baeldung.math.mcts.tictactoe.Board;
import com.baeldung.math.mcts.tree.Node;
import com.baeldung.math.mcts.tree.Tree;
import com.baeldung.algorithms.mcts.tree.Node;
import com.baeldung.algorithms.mcts.tree.Tree;
import com.baeldung.algorithms.mcts.tictactoe.Board;

public class MonteCarloTreeSearch {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.baeldung.math.mcts.montecarlo;
package com.baeldung.algorithms.mcts.montecarlo;

import java.util.ArrayList;
import java.util.List;

import com.baeldung.math.mcts.tictactoe.Board;
import com.baeldung.math.mcts.tictactoe.Position;
import com.baeldung.algorithms.mcts.tictactoe.Board;
import com.baeldung.algorithms.mcts.tictactoe.Position;

public class State {
private Board board;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.baeldung.math.mcts.montecarlo;
package com.baeldung.algorithms.mcts.montecarlo;

import java.util.Collections;
import java.util.Comparator;

import com.baeldung.math.mcts.tree.Node;
import com.baeldung.algorithms.mcts.tree.Node;

public class UCT {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.mcts.tictactoe;
package com.baeldung.algorithms.mcts.tictactoe;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.mcts.tictactoe;
package com.baeldung.algorithms.mcts.tictactoe;

public class Position {
int x;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.baeldung.math.mcts.tree;
package com.baeldung.algorithms.mcts.tree;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

import com.baeldung.math.mcts.montecarlo.State;
import com.baeldung.algorithms.mcts.montecarlo.State;

public class Node {
State state;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.mcts.tree;
package com.baeldung.algorithms.mcts.tree;

public class Tree {
Node root;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.middleelementlookup;
package com.baeldung.algorithms.middleelementlookup;

import java.util.LinkedList;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.middleelementlookup;
package com.baeldung.algorithms.middleelementlookup;

public class Node {
private Node next;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.minimax;
package com.baeldung.algorithms.minimax;

import java.util.List;
import java.util.stream.Collectors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.minimax;
package com.baeldung.algorithms.minimax;

import java.util.Comparator;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.minimax;
package com.baeldung.algorithms.minimax;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.minimax;
package com.baeldung.algorithms.minimax;

public class Tree {
private Node root;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.multiswarm;
package com.baeldung.algorithms.multiswarm;

/**
* Constants used by the Multi-swarm optimization algorithms.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.multiswarm;
package com.baeldung.algorithms.multiswarm;

/**
* Interface for a fitness function, used to decouple the main algorithm logic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.multiswarm;
package com.baeldung.algorithms.multiswarm;

import java.util.Arrays;
import java.util.Random;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.multiswarm;
package com.baeldung.algorithms.multiswarm;

import java.util.Arrays;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.multiswarm;
package com.baeldung.algorithms.multiswarm;

import java.util.Arrays;
import java.util.Random;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.permutation;
package com.baeldung.algorithms.permutation;

import java.util.Arrays;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.string;
package com.baeldung.algorithms.string;

public class EnglishAlphabetLetters {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.string;
package com.baeldung.algorithms.string;

import java.util.HashMap;
import java.util.HashSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.string;
package com.baeldung.algorithms.string;

import java.util.HashSet;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.string.search;
package com.baeldung.algorithms.string.search;

import java.math.BigInteger;
import java.util.Random;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.twopointertechnique;
package com.baeldung.algorithms.twopointertechnique;

public class LinkedListFindMiddle {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.twopointertechnique;
package com.baeldung.algorithms.twopointertechnique;

public class MyNode<E> {
MyNode<E> next;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.twopointertechnique;
package com.baeldung.algorithms.twopointertechnique;

public class RotateArray {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.math.twopointertechnique;
package com.baeldung.algorithms.twopointertechnique;

public class TwoSum {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.baeldung.math;

import com.baeldung.math.hillclimbing.HillClimbing;
import com.baeldung.math.hillclimbing.State;
import com.baeldung.algorithms.hillclimbing.HillClimbing;
import com.baeldung.algorithms.hillclimbing.State;
import org.junit.Before;
import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.baeldung.math;

import com.baeldung.math.middleelementlookup.MiddleElementLookup;
import com.baeldung.math.middleelementlookup.Node;
import com.baeldung.algorithms.middleelementlookup.MiddleElementLookup;
import com.baeldung.algorithms.middleelementlookup.Node;
import org.junit.Test;

import java.util.LinkedList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.baeldung.math;

import com.baeldung.math.automata.*;
import com.baeldung.algorithms.automata.*;
import org.junit.Test;

import static org.junit.Assert.assertTrue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.junit.Assert;
import org.junit.Test;

import com.baeldung.math.string.search.StringSearchAlgorithms;
import com.baeldung.algorithms.string.search.StringSearchAlgorithms;

public class StringSearchAlgorithmsUnitTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.Arrays;
import java.util.List;

import com.baeldung.algorithms.binarysearch.BinarySearch;
import org.junit.Assert;
import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

import java.util.List;

import com.baeldung.algorithms.combination.IterativeCombinationGenerator;
import com.baeldung.algorithms.combination.SelectionRecursiveCombinationGenerator;
import com.baeldung.algorithms.combination.SetRecursiveCombinationGenerator;
import org.junit.Test;

public class CombinationUnitTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import static org.junit.Assert.assertEquals;

import com.baeldung.algorithms.enumstatemachine.LeaveRequestState;
import org.junit.Test;

public class LeaveRequestStateUnitTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import java.math.BigInteger;

import com.baeldung.algorithms.factorial.Factorial;
import org.junit.Before;
import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import static org.assertj.core.api.Assertions.*;

import com.baeldung.algorithms.kthlargest.FindKthLargest;
import org.junit.Before;
import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
import org.junit.Before;
import org.junit.Test;

import com.baeldung.math.mcts.montecarlo.MonteCarloTreeSearch;
import com.baeldung.math.mcts.montecarlo.State;
import com.baeldung.math.mcts.montecarlo.UCT;
import com.baeldung.math.mcts.tictactoe.Board;
import com.baeldung.math.mcts.tictactoe.Position;
import com.baeldung.math.mcts.tree.Tree;
import com.baeldung.algorithms.mcts.montecarlo.MonteCarloTreeSearch;
import com.baeldung.algorithms.mcts.montecarlo.State;
import com.baeldung.algorithms.mcts.montecarlo.UCT;
import com.baeldung.algorithms.mcts.tictactoe.Board;
import com.baeldung.algorithms.mcts.tictactoe.Position;
import com.baeldung.algorithms.mcts.tree.Tree;

public class MCTSUnitTest {
private Tree gameTree;
Expand Down
Loading

0 comments on commit 64bc79b

Please sign in to comment.