repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
Ludii | Ludii-master/Player/src/app/views/players/PlayerView.java | package app.views.players;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.geom.Rectangle2D;
import java.util.ArrayList;
import java.util.List;
import app.PlayerApp;
import app.utils.SettingsExhibition;
import app.views.View;
import game.Game;
import... | 5,903 | 31.262295 | 124 | java |
Ludii | Ludii-master/Player/src/app/views/players/PlayerViewShared.java | package app.views.players;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import app.PlayerApp;
import other.context.Context;
//-----------------------------------------------------------------------------
/**
* Panel showing the Shared pieces
*
* @author Matthew.Stephenson and cam... | 1,539 | 27.518519 | 140 | java |
Ludii | Ludii-master/Player/src/app/views/players/PlayerViewUser.java | package app.views.players;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.In... | 19,450 | 30.834697 | 167 | java |
Ludii | Ludii-master/Player/src/app/views/tools/ToolButton.java | package app.views.tools;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.util.ArrayList;
import app.PlayerApp;
import app.utils.SettingsExhibition;
import game.rules.play.moves.Moves;
import other.action.Action;
import other.context.Context;
import other.move.Move;
//-------... | 5,370 | 21.567227 | 137 | java |
Ludii | Ludii-master/Player/src/app/views/tools/ToolView.java | package app.views.tools;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
import app.PlayerApp;
import app.utils.GameUtil;
import app.utils.SettingsExhibition;
import app.views.View;
import app.views.tools.buttons.ButtonBack;
import app.views... | 8,243 | 29.420664 | 147 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonBack.java | package app.views.tools.buttons;
import java.awt.BasicStroke;
import java.awt.Graphics2D;
import java.awt.geom.GeneralPath;
import app.PlayerApp;
import app.views.tools.ToolButton;
import app.views.tools.ToolView;
import other.context.Context;
//-----------------------------------------------------------------------... | 2,548 | 25.010204 | 122 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonCycleAI.java | package app.views.tools.buttons;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
//import java.awt.geom.GeneralPath;
import app.PlayerApp;
import app.views.tools.ToolButton;
import main.Constants;
import manager.ai.AIUtil;
import other.location.FullLocation;
//-------------------------------... | 2,155 | 25.95 | 129 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonEnd.java | package app.views.tools.buttons;
import java.awt.BasicStroke;
import java.awt.Graphics2D;
import java.awt.geom.GeneralPath;
import app.PlayerApp;
import app.utils.TrialUtil;
import app.views.tools.ToolButton;
import app.views.tools.ToolView;
import other.context.Context;
//-------------------------------------------... | 2,743 | 24.886792 | 120 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonForward.java | package app.views.tools.buttons;
import java.awt.BasicStroke;
import java.awt.Graphics2D;
import java.awt.geom.GeneralPath;
import app.PlayerApp;
import app.views.tools.ToolButton;
import app.views.tools.ToolView;
import other.context.Context;
//-----------------------------------------------------------------------... | 2,310 | 24.395604 | 128 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonInfo.java | package app.views.tools.buttons;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import app.PlayerApp;
import app.views.tools.ToolButton;
import main.Constants;
import other.location.FullLocation;
//-----------------------------------------------------------------------------
/**
* Setting... | 2,060 | 25.766234 | 122 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonOther.java | package app.views.tools.buttons;
import java.awt.Graphics2D;
import java.awt.geom.Ellipse2D;
import app.PlayerApp;
import app.views.tools.ToolButton;
import game.rules.play.moves.Moves;
import main.collections.FastArrayList;
import other.context.Context;
import other.move.Move;
//------------------------------------... | 2,508 | 26.571429 | 124 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonPass.java | package app.views.tools.buttons;
import java.awt.Graphics2D;
import java.awt.geom.GeneralPath;
import app.PlayerApp;
import app.move.MoveHandler;
import app.views.tools.ToolButton;
import game.rules.play.moves.Moves;
import other.context.Context;
import other.move.Move;
//--------------------------------------------... | 3,249 | 29.092593 | 158 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonPlayPause.java | package app.views.tools.buttons;
import java.awt.Graphics2D;
import java.awt.geom.GeneralPath;
import app.PlayerApp;
import app.views.tools.ToolButton;
import game.types.play.ModeType;
import main.Constants;
import manager.ai.AIUtil;
import other.location.FullLocation;
//---------------------------------------------... | 3,324 | 27.418803 | 156 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonQuit.java | package app.views.tools.buttons;
import java.awt.Font;
import java.awt.Graphics2D;
import app.PlayerApp;
import app.views.tools.ToolButton;
//-----------------------------------------------------------------------------
/**
* Quit button.
*
* @author Matthew.Stephenson and cambolbro
*/
public class ButtonQuit e... | 1,775 | 24.371429 | 122 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonSettings.java | package app.views.tools.buttons;
import java.awt.Color;
import java.awt.Graphics2D;
//import java.awt.geom.GeneralPath;
import app.PlayerApp;
import app.views.tools.ToolButton;
import main.Constants;
import other.location.FullLocation;
//-----------------------------------------------------------------------------
... | 2,135 | 25.7 | 130 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonShow.java | package app.views.tools.buttons;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.geom.Rectangle2D;
import app.PlayerApp;
import app.views.tools.ToolButton;
//-----------------------------------------------------------------------------
/**
* Show button.
*
* @author cambo... | 2,256 | 25.552941 | 122 | java |
Ludii | Ludii-master/Player/src/app/views/tools/buttons/ButtonStart.java | package app.views.tools.buttons;
import java.awt.BasicStroke;
import java.awt.Graphics2D;
import java.awt.geom.GeneralPath;
import app.PlayerApp;
import app.utils.TrialUtil;
import app.views.tools.ToolButton;
import app.views.tools.ToolView;
import other.context.Context;
/**
* Settings button.
*
* @author Matthe... | 2,848 | 25.37963 | 124 | java |
Ludii | Ludii-master/Player/src/supplementary/AutoIndenter.java | package supplementary;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.nio.charset.... | 10,980 | 26.521303 | 107 | java |
Ludii | Ludii-master/Player/src/supplementary/DefToTex.java | package supplementary;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.nio.charset.StandardCharsets;
import ja... | 8,133 | 24.339564 | 84 | java |
Ludii | Ludii-master/Player/src/supplementary/EvalUtil.java | package supplementary;
import java.awt.EventQueue;
import analysis.Complexity;
import app.PlayerApp;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import search.pns.ProofNumberSearch;
import search.pns.ProofNumberSearch.ProofGoals;
public class EvalUtil
{
public static void estimateGameTreeComplexity(final Player... | 5,586 | 32.860606 | 132 | java |
Ludii | Ludii-master/Player/src/supplementary/PrintLudiiLstDefineLanguage.java | package supplementary;
import java.util.ArrayList;
import java.util.List;
import grammar.Grammar;
import main.StringRoutines;
import main.grammar.Symbol;
import main.grammar.Symbol.LudemeType;
/**
* Prints the \lstdefinelanguage command for the Ludii language.
*
* @author Dennis Soemers
*/
public class PrintLudi... | 1,932 | 33.517857 | 136 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/EvalAIsThread.java | package supplementary.experiments;
import java.awt.EventQueue;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
import java.util.stream.IntStream;
import game.Game;
import gnu.trove.list.array.TIntArrayList;
impo... | 7,523 | 22.961783 | 141 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/EvalGamesSet.java | package supplementary.experiments;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;... | 14,531 | 24.674912 | 126 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/EvalGamesThread.java | package supplementary.experiments;
import java.util.ArrayList;
import java.util.List;
import game.Game;
import main.grammar.Report;
import metrics.Evaluation;
import metrics.Metric;
import supplementary.experiments.eval.EvalGames;
/**
* Thread in which various metrics of a game can be evaluated
* from AI vs. AI pl... | 4,145 | 22.691429 | 156 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/EvaluateAllUBFMs.java | package supplementary.experiments;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorSe... | 11,425 | 30.476584 | 146 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/EvaluateUBFM.java | package supplementary.experiments;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.ut... | 6,198 | 25.491453 | 116 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/HeuristicsTraining.java | package supplementary.experiments;
//import java.io.File;
//import java.io.FileWriter;
//import java.io.IOException;
//import java.util.ArrayList;
//import java.util.List;
//import java.util.concurrent.CountDownLatch;
//import java.util.concurrent.ExecutorService;
//import java.util.concurrent.Executors;
//import java... | 23,652 | 34.515015 | 161 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/analysis/CustomPlayoutsResultsCSV.java | package supplementary.experiments.analysis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import... | 10,659 | 30.078717 | 131 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/analysis/EvaluateBaseAgents.java | package supplementary.experiments.analysis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import... | 8,976 | 30.609155 | 131 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/analysis/EvaluateStartingHeuristics.java | package supplementary.experiments.analysis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import... | 9,146 | 31.321555 | 131 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/analysis/GenerateBaseHeuristicScoresCSV.java | package supplementary.experiments.analysis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import... | 11,888 | 32.490141 | 142 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/analysis/RulesetConceptsUCT.java | package supplementary.experiments.analysis;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;
import gnu.trove.list.array.TDoubleArrayList;
import main.collections.ArrayUtils;
/**
... | 3,403 | 26.015873 | 113 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/analysis/WriteGameRulesetCategories.java | package supplementary.experiments.analysis;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
imp... | 5,926 | 30.526596 | 129 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/debugging/FindCrashingTrial.java | package supplementary.experiments.debugging;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.IntStream;
import org.apache.commons.rng.core.RandomProviderDefaultState;
import game.Game;
import gnu.trove.list.array.TIn... | 11,650 | 27.626536 | 120 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/debugging/FindSuperLongTrial.java | package supplementary.experiments.debugging;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.IntStream;
import org.apache.commons.rng.core.RandomProviderDefaultState;
import game.Game;
import gnu.trove.list.array.TIn... | 15,102 | 28.671906 | 120 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/eval/EvalAgents.java | package supplementary.experiments.eval;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import features.feature_sets.network.JITSPatterNetFeatureSet;
import main.CommandLineArgParse;
import main.CommandLineArgParse.ArgOption;
import main.CommandLineArgParse.OptionTypes... | 10,868 | 31.061947 | 120 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/eval/EvalGames.java | package supplementary.experiments.eval;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.uti... | 14,953 | 29.332657 | 215 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/eval/EvalGate.java | package supplementary.experiments.eval;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import java.util.regex.Pattern;
import java.util.stream.IntStream;... | 22,282 | 30.428773 | 115 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/eval/EvalPlayoutImplementations.java | package supplementary.experiments.eval;
import java.io.File;
import main.CommandLineArgParse;
import main.CommandLineArgParse.ArgOption;
import main.CommandLineArgParse.OptionTypes;
/**
* Implementation of an experiment that evaluates the performance
* of specialised playout implementations.
*
* Note that this ... | 5,105 | 26.901639 | 106 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_importance/AnalyseFeatureImportances.java | package supplementary.experiments.feature_importance;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import features.Feature;
import features.FeatureVector;
import features.W... | 20,982 | 30.648567 | 182 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_importance/IdentifyTopFeatures.java | package supplementary.experiments.feature_importance;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.Thread... | 35,295 | 33.168441 | 149 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_sets/InstantiationTime.java | package supplementary.experiments.feature_sets;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import features.feature_sets.BaseFeatureSet;
import fea... | 9,534 | 29.659164 | 153 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_sets/MemoryUsage.java | package supplementary.experiments.feature_sets;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.... | 16,957 | 35.235043 | 183 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/GenerateExactFeatureTree.java | package supplementary.experiments.feature_trees;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import decision_trees.logits.ExactLogitTreeLearner;
import decision_trees.logits.LogitTreeNode;
import features.feature_sets.BaseFeatureSet;
import function_approx.Linea... | 5,386 | 27.807487 | 97 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/TrainIQRDecisionTreeFromBuffer.java | package supplementary.experiments.feature_trees;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceIQRTreeLearner;
import features.feature_sets.BaseFeatureSet;
import funct... | 6,532 | 29.24537 | 125 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/TrainLogitTreeFromBuffer.java | package supplementary.experiments.feature_trees;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import decision_trees.logits.ExperienceLogitTreeLearner;
import decision_trees.logits.LogitTreeNode;
import features.feature_sets.BaseFeatureSet;
import function_approx.... | 6,283 | 28.227907 | 118 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/normal_games/TrainBinaryClassificationDecisionTreesNormalGames.java | package supplementary.experiments.feature_trees.normal_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceBinaryClassificationTreeLearner;
import features.fe... | 6,855 | 28.424893 | 128 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/normal_games/TrainIQRDecisionTreesNormalGames.java | package supplementary.experiments.feature_trees.normal_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceIQRTreeLearner;
import features.feature_sets.BaseFe... | 6,709 | 27.922414 | 128 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/normal_games/TrainImbalancedBinaryClassificationDecisionTrees2NormalGames.java | package supplementary.experiments.feature_trees.normal_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceImbalancedBinaryClassificationTree2Learner;
import ... | 6,947 | 28.819742 | 143 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/normal_games/TrainImbalancedBinaryClassificationDecisionTreesNormalGames.java | package supplementary.experiments.feature_trees.normal_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceImbalancedBinaryClassificationTreeLearner;
import f... | 6,936 | 28.772532 | 141 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/normal_games/TrainLogitTreesNormalGames.java | package supplementary.experiments.feature_trees.normal_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.logits.ExperienceLogitTreeLearner;
import decision_trees.logits.LogitTreeNode;
import features.feature_sets.BaseFeatureSet;
i... | 6,671 | 27.635193 | 120 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/normal_games/TrainUrgencyTreesNormalGames.java | package supplementary.experiments.feature_trees.normal_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceUrgencyTreeLearner;
import features.feature_sets.Ba... | 6,719 | 27.841202 | 128 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/small_games/TrainBinaryDecisionTreesSmallGames.java | package supplementary.experiments.feature_trees.small_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceBinaryClassificationTreeLearner;
import features.fea... | 6,820 | 28.274678 | 128 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/small_games/TrainIQRDecisionTreesSmallGames.java | package supplementary.experiments.feature_trees.small_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceIQRTreeLearner;
import features.feature_sets.BaseFea... | 6,704 | 28.025974 | 154 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/small_games/TrainImbalancedBinaryDecisionTrees2SmallGames.java | package supplementary.experiments.feature_trees.small_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceImbalancedBinaryClassificationTree2Learner;
import f... | 6,923 | 28.716738 | 128 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/small_games/TrainImbalancedBinaryDecisionTreesSmallGames.java | package supplementary.experiments.feature_trees.small_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.classifiers.DecisionTreeNode;
import decision_trees.classifiers.ExperienceImbalancedBinaryClassificationTreeLearner;
import fe... | 6,912 | 28.669528 | 128 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/feature_trees/small_games/TrainLogitTreesSmallGames.java | package supplementary.experiments.feature_trees.small_games;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.regex.Pattern;
import decision_trees.logits.ExperienceLogitTreeLearner;
import decision_trees.logits.LogitTreeNode;
import features.feature_sets.BaseFeatureSet;
im... | 6,687 | 27.703863 | 120 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/game_files/CountGames.java | package supplementary.experiments.game_files;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import main.FileHandling;
/**
* Simple "experiment" to count the number of games we have in every
* category. The following categories are excluded:
* - bad
* - bad_playout
* - wip
*... | 5,207 | 23.682464 | 111 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/game_files/CountReconstruction.java | package supplementary.experiments.game_files;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import main.FileHandling;
/**
* Simple "experiment" to count the number of reconstruction we have in every
* category.
*
* @author Eric Piette
*/
public class CountReconstruction
{
... | 5,133 | 23.564593 | 111 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/game_files/LoopThroughGames.java | package supplementary.experiments.game_files;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import features.spatial.Walk;
import game.Game;
import main.FileHandling;
import main.options.Ruleset;
import other.GameLoader;
/**
* A little helper class with a... | 3,223 | 27.530973 | 134 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/game_files/TestFormatLudFile.java | package supplementary.experiments.game_files;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import main.FileHandling;
import main.grammar.Report;
/**
* Script to write a formatted version of a .lud file's contents to
* "Ludii/Player/Formatt... | 1,500 | 24.87931 | 96 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/game_files/UpdateAIMetadata.java | package supplementary.experiments.game_files;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
impo... | 11,642 | 29.479058 | 131 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/game_files/UpdateAIMetadataTopFeatures.java | package supplementary.experiments.game_files;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
impo... | 11,358 | 31.82948 | 149 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/game_files/WriteFeaturesMetadata.java | package supplementary.experiments.game_files;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import main.CommandLineArgParse;
import main.CommandLineArgParse.ArgOption;
import main.CommandLineArgParse.OptionTypes;
import main.StringRoutines;
import metadata.ai.feat... | 4,677 | 27.876543 | 116 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/heuristicWeightTuning/HeuristicWeightTuning.java | package supplementary.experiments.heuristicWeightTuning;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.LinkedHashMap;
impor... | 28,792 | 38.714483 | 323 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/heuristicWeightTuning/HeuristicWeightTuningOld.java | package supplementary.experiments.heuristicWeightTuning;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.LinkedHashMap;
impor... | 33,405 | 35.429662 | 323 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/ludemes/CountLudemes.java | package supplementary.experiments.ludemes;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.List;
import grammar.ClassEnumerator;
/**
* Counts ludemes by category.
*
* @author cambolbro (based on code by Dennis Soemers).
*/
public class CountLudemes
{
/**
* Record of a ludeme ... | 4,807 | 22.684729 | 113 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/ludemes/ListAllLudemesUsage.java | package supplementary.experiments.ludemes;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;
import game.Game;
import grammar... | 8,741 | 25.815951 | 117 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/ludemes/ListGamesUsingLudeme.java | package supplementary.experiments.ludemes;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;
import game.Game;
import gnu.tro... | 7,532 | 26.097122 | 113 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/ludemes/ListUsedLudemes.java | package supplementary.experiments.ludemes;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import game.Game;
import gnu.trove.m... | 5,250 | 25.124378 | 89 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/optim/EvolOptimHeuristics.java | package supplementary.experiments.optim;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
im... | 26,689 | 35.763085 | 157 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/AtomicFeaturesPlayoutTimingScriptsGen.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.CommandLineArgParse;
import ma... | 9,848 | 27.14 | 118 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/CustomPlayoutsTimingScriptsGen.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.Comma... | 9,179 | 30.013514 | 131 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalDecisionTreesNormalGamesSnellius.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 16,962 | 28.969965 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalDecisionTreesSmallGames.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 11,982 | 26.674365 | 129 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalDecisionTreesSmallGamesRWTH.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 14,747 | 27.361538 | 144 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalDecisionTreesSmallGamesRWTH2.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 14,863 | 27.475096 | 144 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalMCTSDecisionTreesNormalGamesMulticlassSnellius.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 16,690 | 29.569597 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalMCTSDecisionTreesNormalGamesSnellius.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 16,594 | 29.393773 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalMCTSDecisionTreesNormalGamesSnellius_50its.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 16,674 | 29.484461 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalMCTSDecisionTreesVsSmallestSet.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 17,962 | 29.342905 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesCorrConfIntervalsScriptsGen.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.CommandLineArgParse;
import ma... | 9,848 | 29.586957 | 218 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesFeatureSetImpls.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import java.util.... | 16,280 | 30.923529 | 152 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesFinalStatesBuffersScriptsGen.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.CommandLineArgParse;
import ma... | 9,829 | 29.52795 | 219 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesSnellius.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import java.util.regex.Pattern;
import game.G... | 14,571 | 30.136752 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesSnellius2.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import java.util.... | 16,099 | 30.445313 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesSnellius3.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import java.util.... | 16,182 | 30.423301 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesSnellius4.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import java.util.... | 16,213 | 30.361702 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesSnellius4Reinforce.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 14,769 | 29.57971 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedFeaturesSnelliusImportanceSampling.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
import java.util.... | 16,908 | 30.605607 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/EvalTrainedLudusScriptsGen.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.CommandLineArgParse;
import ma... | 10,925 | 33.250784 | 136 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGen.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.Comma... | 9,097 | 29.945578 | 131 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGenCartesius.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.CommandLineArgParse;
import ma... | 8,856 | 27.11746 | 118 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGenSnellius.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.CommandLineArgParse;
import ma... | 12,959 | 30.004785 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGenSnellius2.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 14,523 | 30.642702 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGenSnellius3.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 14,813 | 30.721627 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGenSnellius4.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 14,267 | 30.221007 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGenSnellius4Reinforce.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 12,980 | 30.279518 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGenSnellius5.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import game.Game;
import main.C... | 15,150 | 31.099576 | 135 | java |
Ludii | Ludii-master/Player/src/supplementary/experiments/scripts/ExItTrainingScriptsGenSnelliusAllGames.java | package supplementary.experiments.scripts;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import... | 16,065 | 31.132 | 135 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.