Aufgrund einer Wartung wird GitLab am 28.09. zwischen 10:00 und 11:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 28.09. between 10:00 and 11:00 am.

Move clust4j from helpers to com package

parent 490694c8
Pipeline #95861 passed with stages
in 13 minutes and 52 seconds
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j;
package com.clust4j;
import java.io.FileInputStream;
import java.io.FileOutputStream;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j;
package com.clust4j;
import java.util.Random;
import java.util.concurrent.ForkJoinPool;
......
......@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j;
package com.clust4j;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Loggable;
import com.clust4j.log.Loggable;
/**
*
......
......@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.SupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.UnsupervisedMetric;
import com.clust4j.metrics.scoring.SupervisedMetric;
import com.clust4j.metrics.scoring.UnsupervisedMetric;
import org.apache.commons.math3.linear.RealMatrix;
public abstract class AbstractAutonomousClusterer extends AbstractClusterer implements UnsupervisedClassifier {
......
......@@ -13,25 +13,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.NamedEntity;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.Kernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.SupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.UnsupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.utils.MatUtils;
import com.clust4j.utils.VecUtils;
import com.clust4j.NamedEntity;
import com.clust4j.kernel.Kernel;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.scoring.SupervisedMetric;
import com.clust4j.metrics.scoring.UnsupervisedMetric;
import org.apache.commons.math3.exception.DimensionMismatchException;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
public abstract class AbstractCentroidClusterer extends AbstractPartitionalClusterer
implements CentroidLearner, Convergeable, UnsupervisedClassifier {
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.Collection;
......@@ -22,25 +22,25 @@ import java.util.HashSet;
import java.util.Random;
import java.util.UUID;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.GlobalState;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.NamedEntity;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.ModelNotFitException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.NaNException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.Kernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Loggable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.DistanceMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.SimilarityMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.TableFormatter;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.except.ModelNotFitException;
import com.clust4j.except.NaNException;
import com.clust4j.utils.MatUtils;
import com.clust4j.utils.TableFormatter;
import com.clust4j.utils.VecUtils;
import com.clust4j.GlobalState;
import com.clust4j.NamedEntity;
import com.clust4j.kernel.Kernel;
import com.clust4j.log.Log;
import com.clust4j.log.Loggable;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.DistanceMetric;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.SimilarityMetric;
import org.apache.commons.math3.linear.Array2DRowRealMatrix;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
*
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import org.apache.commons.math3.linear.RealMatrix;
......
......@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.SimilarityMetric;
import com.clust4j.metrics.pairwise.SimilarityMetric;
import org.apache.commons.math3.linear.RealMatrix;
public abstract class AbstractDensityClusterer extends AbstractAutonomousClusterer {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import org.apache.commons.math3.linear.RealMatrix;
......
......@@ -13,22 +13,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.GlobalState;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.ModelNotFitException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.except.ModelNotFitException;
import com.clust4j.utils.MatUtils;
import com.clust4j.utils.VecUtils;
import com.clust4j.GlobalState;
import com.clust4j.log.Log;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
* <a href="https://en.wikipedia.org/wiki/Affinity_propagation">Affinity Propagation</a> (AP)
......
......@@ -14,11 +14,11 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
/**
......
......@@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.HashSet;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Loggable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.DistanceMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.MinkowskiDistance;
import com.clust4j.log.Loggable;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.DistanceMetric;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.MinkowskiDistance;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.linear.Array2DRowRealMatrix;
import org.apache.commons.math3.util.FastMath;
......
......@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.SupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.UnsupervisedMetric;
import com.clust4j.metrics.scoring.SupervisedMetric;
import com.clust4j.metrics.scoring.UnsupervisedMetric;
import org.apache.commons.math3.linear.RealMatrix;
/**
......
......@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.DeepCloneable;
import com.clust4j.utils.DeepCloneable;
public interface BaseClassifierParameters extends DeepCloneable {
@Override public BaseClassifierParameters copy();
......
......@@ -14,13 +14,13 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.Clust4j;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.DeepCloneable;
import com.clust4j.utils.DeepCloneable;
import com.clust4j.Clust4j;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
/**
* Base planner class many clustering algorithms
......
......@@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.text.NumberFormat;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.Clust4j;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.SynchronicityLock;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.TableFormatter;
import com.clust4j.utils.SynchronicityLock;
import com.clust4j.utils.TableFormatter;
import com.clust4j.Clust4j;
abstract public class BaseModel extends Clust4j implements java.io.Serializable {
private static final long serialVersionUID = 4707757741169405063L;
......
......@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.GlobalState;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.ModelNotFitException;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.DistanceMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.except.ModelNotFitException;
import com.clust4j.GlobalState;
import com.clust4j.metrics.pairwise.DistanceMetric;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
abstract public class BaseNeighborsModel extends AbstractClusterer {
......
......@@ -13,17 +13,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Loggable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.DistanceMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Pairwise;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.utils.VecUtils;
import com.clust4j.log.Loggable;
import com.clust4j.metrics.pairwise.DistanceMetric;
import com.clust4j.metrics.pairwise.Pairwise;
import org.apache.commons.math3.linear.Array2DRowRealMatrix;
import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo.NearestNeighborHeapSearch.NodeData;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.algo.NearestNeighborHeapSearch.NodeData;
import com.clust4j.log.LogTimer;
/**
* A graph traversal algorithm used in identifying the minimum spanning tree
......
......@@ -14,11 +14,11 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import org.apache.commons.math3.linear.RealMatrix;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo.AbstractCentroidClusterer.InitializationStrategy;
import com.clust4j.algo.AbstractCentroidClusterer.InitializationStrategy;
public abstract class CentroidClustererParameters<T extends AbstractCentroidClusterer> extends BaseClustererParameters
implements UnsupervisedClassifierParameters<T>, ConvergeablePlanner {
......
......@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.Collection;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.except.ModelNotFitException;
import com.clust4j.except.ModelNotFitException;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.linear.Array2DRowRealMatrix;
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
/**
* An interface to be implemented by {@link AbstractAutonomousClusterer}<tt>s</tt> that converge
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
interface ConvergeablePlanner extends java.io.Serializable {
/**
......
......@@ -13,20 +13,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Stack;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.SimilarityMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import com.clust4j.utils.MatUtils;
import com.clust4j.log.Log;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.SimilarityMetric;
import org.apache.commons.math3.exception.DimensionMismatchException;
import org.apache.commons.math3.linear.RealMatrix;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import com.clust4j.log.LogTimer;
/**
......
......@@ -14,14 +14,14 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo.AbstractDBSCAN.AbstractDBSCANParameters;
import com.clust4j.algo.AbstractDBSCAN.AbstractDBSCANParameters;
/**
* A builder class to provide an easier constructing
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.Arrays;
......@@ -25,24 +25,24 @@ import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.GlobalState;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Loggable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.DistanceMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Pairwise;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.*;
import com.clust4j.utils.*;
import com.clust4j.GlobalState;
import com.clust4j.log.Log;
import com.clust4j.log.Loggable;
import com.clust4j.metrics.pairwise.Distance;
import com.clust4j.metrics.pairwise.DistanceMetric;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.Pairwise;
import org.apache.commons.math3.exception.DimensionMismatchException;
import org.apache.commons.math3.linear.RealMatrix;
import org.apache.commons.math3.util.FastMath;
import org.apache.commons.math3.util.Precision;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.QuadTup;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.LogTimer;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.EntryPair;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
import com.clust4j.utils.QuadTup;
import com.clust4j.log.LogTimer;
import com.clust4j.utils.EntryPair;
import com.clust4j.utils.MatUtils;
import com.clust4j.utils.VecUtils;
/**
* Hierarchical Density-Based Spatial Clustering of Applications with Noise.
......
......@@ -14,11 +14,11 @@
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.Random;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import com.clust4j.metrics.pairwise.GeometricallySeparable;
import org.apache.commons.math3.linear.RealMatrix;
/**
......
......@@ -13,27 +13,27 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.algo;
package com.clust4j.algo;
import java.util.ArrayList;
import java.util.HashSet;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.NamedEntity;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.CircularKernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel.LogKernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.Distance;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise.GeometricallySeparable;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.SupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.scoring.UnsupervisedMetric;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.MatUtils;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.SimpleHeap<