io.gitlab.chaver.mining.main.MainCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-mining Show documentation
Show all versions of data-mining Show documentation
Data mining with Choco solver
/*
* This file is part of io.gitlab.chaver:data-mining (https://gitlab.com/chaver/data-mining)
*
* Copyright (c) 2022, IMT Atlantique
*
* Licensed under the MIT license.
*
* See LICENSE file in the project root for full license information.
*/
package io.gitlab.chaver.mining.main;
import io.gitlab.chaver.chocotools.util.ProblemExceptionHandlerProd;
import io.gitlab.chaver.mining.patterns.problems.ClosedSky;
import io.gitlab.chaver.mining.patterns.problems.CpSky;
import io.gitlab.chaver.mining.rules.problems.AssociationRuleMining;
import picocli.CommandLine;
import picocli.CommandLine.Command;
@Command(subcommands = {AssociationRuleMining.class, ClosedSky.class, CpSky.class}, mixinStandardHelpOptions = true,
version = "1.0.0")
public class MainCommand {
public static void main(String[] args) {
int exitCode = new CommandLine(new MainCommand())
.setExecutionExceptionHandler(new ProblemExceptionHandlerProd())
.execute(args);
System.exit(exitCode);
}
}