Commit 1526e3f5 authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Move clust4j from helpers to com package

parent 490694c8
Pipeline #95861 passed with stages
in 13 minutes and 52 seconds
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils; import com.clust4j.utils.VecUtils;
/** /**
* The Linear kernel is the simplest kernel function. * The Linear kernel is the simplest kernel function.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils; import com.clust4j.utils.VecUtils;
/** /**
* The Histogram Intersection Kernel is also known as the * The Histogram Intersection Kernel is also known as the
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils; import com.clust4j.utils.VecUtils;
/** /**
* The Polynomial kernel is a non-stationary kernel. * The Polynomial kernel is a non-stationary kernel.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
......
...@@ -13,12 +13,11 @@ ...@@ -13,12 +13,11 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.kernel; package com.clust4j.kernel;
import com.clust4j.utils.VecUtils;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
/** /**
* The Spline kernel is given as a piece-wise cubic polynomial, * The Spline kernel is given as a piece-wise cubic polynomial,
* as derived in the works by <a href="http://www.svms.org/tutorials/Gunn1998.pdf">Gunn (1998)</a>. * as derived in the works by <a href="http://www.svms.org/tutorials/Gunn1998.pdf">Gunn (1998)</a>.
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log; package com.clust4j.log;
import static de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log.Log.Tag.*; import static com.clust4j.log.Log.Tag.*;
import java.io.*; import java.io.*;
import java.net.URI; import java.net.URI;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log; package com.clust4j.log;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log; package com.clust4j.log;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log; package com.clust4j.log;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log; package com.clust4j.log;
public interface Loggable { public interface Loggable {
public void error(String msg); public void error(String msg);
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.log; package com.clust4j.log;
public interface Timer { public interface Timer {
public long time(); public long time();
......
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise; package com.clust4j.metrics.pairwise;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.QuadTup; import com.clust4j.utils.QuadTup;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils; import com.clust4j.utils.VecUtils;
/** /**
* A helper class for boolean dissimilarity metrics like {@link Distance#RUSSELL_RAO}, * A helper class for boolean dissimilarity metrics like {@link Distance#RUSSELL_RAO},
......
...@@ -13,15 +13,14 @@ ...@@ -13,15 +13,14 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise; package com.clust4j.metrics.pairwise;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import com.clust4j.utils.VecUtils;
import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.FastMath;
import de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.utils.VecUtils;
public enum Distance implements DistanceMetric, java.io.Serializable { public enum Distance implements DistanceMetric, java.io.Serializable {
HAMMING { HAMMING {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*******************************************************************************/ *******************************************************************************/
package de.monticore.lang.monticar.generator.middleware.helpers.AffinityPropagationHelper.clust4j.metrics.pairwise; package com.clust4j.metrics.pairwise;
public interface DistanceMetric extends GeometricallySeparable { public interface DistanceMetric extends GeometricallySeparable {
public static final double DEFAULT_P = 2.0; public static final double DEFAULT_P = 2.0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment