BAEL-2797 wrongly renamed algorithms-2 package fixed

This commit is contained in:
anilkivilcim.eray 2019-04-04 16:10:31 +03:00
parent 64bc79b290
commit 2069c7f4a1
73 changed files with 85 additions and 87 deletions

View File

@ -1,11 +1,11 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import com.baeldung.algorithms.ga.annealing.SimulatedAnnealing;
import com.baeldung.algorithms.ga.ant_colony.AntColonyOptimization;
import com.baeldung.algorithms.ga.binary.SimpleGeneticAlgorithm;
import java.util.Scanner;
import com.baeldung.math.ga.annealing.SimulatedAnnealing;
import com.baeldung.math.ga.ant_colony.AntColonyOptimization;
import com.baeldung.math.ga.binary.SimpleGeneticAlgorithm;
public class RunAlgorithm {
public static void main(String[] args) throws InstantiationException, IllegalAccessException {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.annealing;
package com.baeldung.algorithms.ga.annealing;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.annealing;
package com.baeldung.algorithms.ga.annealing;
public class SimulatedAnnealing {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.annealing;
package com.baeldung.algorithms.ga.annealing;
import java.util.ArrayList;
import java.util.Collections;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.ant_colony;
package com.baeldung.algorithms.ga.ant_colony;
public class Ant {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.ant_colony;
package com.baeldung.algorithms.ga.ant_colony;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.binary;
package com.baeldung.algorithms.ga.binary;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.binary;
package com.baeldung.algorithms.ga.binary;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.binary;
package com.baeldung.algorithms.ga.binary;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.jenetics;
package com.baeldung.algorithms.ga.jenetics;
import static org.jenetics.engine.EvolutionResult.toBestPhenotype;
import static org.jenetics.engine.limit.bySteadyFitness;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.jenetics;
package com.baeldung.algorithms.ga.jenetics;
import java.util.function.Function;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.jenetics;
package com.baeldung.algorithms.ga.jenetics;
import java.util.Random;
import java.util.stream.Collector;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.jenetics;
package com.baeldung.algorithms.ga.jenetics;
import org.jenetics.BitChromosome;
import org.jenetics.BitGene;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.jenetics;
package com.baeldung.algorithms.ga.jenetics;
import static java.util.Objects.requireNonNull;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.jenetics;
package com.baeldung.algorithms.ga.jenetics;
import static java.util.Objects.requireNonNull;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.jenetics;
package com.baeldung.algorithms.ga.jenetics;
import static java.util.Objects.requireNonNull;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.jenetics;
package com.baeldung.algorithms.ga.jenetics;
import static java.lang.Math.PI;
import static java.lang.Math.abs;

View File

@ -1,9 +1,9 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import com.baeldung.algorithms.ga.ant_colony.AntColonyOptimization;
import org.junit.Assert;
import org.junit.Test;
import com.baeldung.math.ga.ant_colony.AntColonyOptimization;
public class AntColonyOptimizationLongRunningUnitTest {

View File

@ -1,9 +1,9 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import com.baeldung.algorithms.ga.binary.SimpleGeneticAlgorithm;
import org.junit.Assert;
import org.junit.Test;
import com.baeldung.math.ga.binary.SimpleGeneticAlgorithm;
public class BinaryGeneticAlgorithmLongRunningUnitTest {

View File

@ -1,9 +1,9 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import com.baeldung.algorithms.ga.annealing.SimulatedAnnealing;
import org.junit.Assert;
import org.junit.Test;
import com.baeldung.math.ga.annealing.SimulatedAnnealing;
public class SimulatedAnnealingLongRunningUnitTest {

View File

@ -1,8 +1,8 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import java.util.Scanner;
import com.baeldung.math.slope_one.SlopeOne;
import com.baeldung.algorithms.slope_one.SlopeOne;
public class RunAlgorithm {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.conversion;
package com.baeldung.algorithms.conversion;
import java.math.BigInteger;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.editdistance;
package com.baeldung.algorithms.editdistance;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.editdistance;
package com.baeldung.algorithms.editdistance;
public class EditDistanceDynamicProgramming extends EditDistanceBase {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.editdistance;
package com.baeldung.algorithms.editdistance;
public class EditDistanceRecursive extends EditDistanceBase {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.dijkstra;
package com.baeldung.algorithms.ga.dijkstra;
import java.util.HashSet;
import java.util.LinkedList;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.dijkstra;
package com.baeldung.algorithms.ga.dijkstra;
import java.util.HashSet;
import java.util.Set;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.ga.dijkstra;
package com.baeldung.algorithms.ga.dijkstra;
import java.util.HashMap;
import java.util.LinkedList;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
public class CycleDetectionBruteForce {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
public class CycleDetectionByFastAndSlowIterators {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
import java.util.HashSet;
import java.util.Set;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
public class CycleDetectionResult<T> {
boolean cycleExists;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
public class CycleRemovalBruteForce {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
public class CycleRemovalByCountingLoopNodes {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
public class CycleRemovalWithoutCountingLoopNodes {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
public class Node<T> {
T data;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.maze.solver;
package com.baeldung.algorithms.maze.solver;
import java.util.ArrayList;
import java.util.Collections;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.maze.solver;
package com.baeldung.algorithms.maze.solver;
public class Coordinate {
int x;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.maze.solver;
package com.baeldung.algorithms.maze.solver;
import java.util.ArrayList;
import java.util.Collections;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.maze.solver;
package com.baeldung.algorithms.maze.solver;
import java.io.File;
import java.io.FileNotFoundException;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.maze.solver;
package com.baeldung.algorithms.maze.solver;
import java.io.File;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.numberwordconverter;
package com.baeldung.algorithms.numberwordconverter;
import java.math.BigDecimal;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.relativelyprime;
package com.baeldung.algorithms.relativelyprime;
import java.math.BigInteger;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.reversingtree;
package com.baeldung.algorithms.reversingtree;
public class TreeNode {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.reversingtree;
package com.baeldung.algorithms.reversingtree;
import java.util.LinkedList;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.romannumerals;
package com.baeldung.algorithms.romannumerals;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.romannumerals;
package com.baeldung.algorithms.romannumerals;
import java.util.Arrays;
import java.util.Comparator;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.slope_one;
package com.baeldung.algorithms.slope_one;
import java.util.Arrays;
import java.util.HashMap;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.slope_one;
package com.baeldung.algorithms.slope_one;
import lombok.AllArgsConstructor;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.slope_one;
package com.baeldung.algorithms.slope_one;
import java.text.DecimalFormat;
import java.text.NumberFormat;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.slope_one;
package com.baeldung.algorithms.slope_one;
import lombok.AllArgsConstructor;
import lombok.Data;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.sudoku;
package com.baeldung.algorithms.sudoku;
import java.util.stream.IntStream;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.sudoku;
package com.baeldung.algorithms.sudoku;
class ColumnNode extends DancingNode {
int size;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.sudoku;
package com.baeldung.algorithms.sudoku;
import java.util.ArrayList;
import java.util.LinkedList;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.sudoku;
package com.baeldung.algorithms.sudoku;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.sudoku;
package com.baeldung.algorithms.sudoku;
class DancingNode {
DancingNode L, R, U, D;

View File

@ -1,10 +1,10 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import org.junit.Test;
import com.baeldung.math.ga.dijkstra.Dijkstra;
import com.baeldung.math.ga.dijkstra.Graph;
import com.baeldung.math.ga.dijkstra.Node;
import com.baeldung.algorithms.ga.dijkstra.Dijkstra;
import com.baeldung.algorithms.ga.dijkstra.Graph;
import com.baeldung.algorithms.ga.dijkstra.Node;
import java.util.Arrays;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.analysis;
package com.baeldung.algorithms.analysis;
import org.junit.Test;

View File

@ -1,7 +1,6 @@
package com.baeldung.math.conversion;
package com.baeldung.algorithms.conversion;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import org.apache.commons.codec.DecoderException;
@ -9,7 +8,6 @@ import org.hamcrest.text.IsEqualIgnoringCase;
import org.junit.Before;
import org.junit.Test;
import com.baeldung.math.conversion.HexStringConverter;
public class ByteArrayConverterUnitTest {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.editdistance;
package com.baeldung.algorithms.editdistance;
import org.junit.runners.Parameterized.Parameters;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.editdistance;
package com.baeldung.algorithms.editdistance;
import org.junit.Test;
import org.junit.runner.RunWith;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
import java.util.Arrays;
import java.util.Collection;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linkedlist;
package com.baeldung.algorithms.linkedlist;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,10 +1,10 @@
package com.baeldung.math.moneywords;
package com.baeldung.algorithms.moneywords;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.baeldung.math.numberwordconverter.NumberWordConverter;
import com.baeldung.algorithms.numberwordconverter.NumberWordConverter;
public class NumberWordConverterUnitTest {

View File

@ -1,8 +1,8 @@
package com.baeldung.math.relativelyprime;
package com.baeldung.algorithms.relativelyprime;
import org.junit.Test;
import static com.baeldung.math.relativelyprime.RelativelyPrime.*;
import static com.baeldung.algorithms.relativelyprime.RelativelyPrime.*;
import static org.assertj.core.api.Assertions.assertThat;
public class RelativelyPrimeUnitTest {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.reversingtree;
package com.baeldung.algorithms.reversingtree;
import static org.junit.jupiter.api.Assertions.assertEquals;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.romannumerals;
package com.baeldung.algorithms.romannumerals;
import static org.assertj.core.api.Assertions.assertThat;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 10 KiB