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 |
|---|---|---|---|---|---|---|
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveEnemiesStrongest.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLParametersConcr... | 3,645 | 30.704348 | 115 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveEnemiesinUnitsRange.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLParametersConcr... | 3,770 | 34.575472 | 116 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveQtdEnemiesbyType.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLParametersConcr... | 1,876 | 30.283333 | 113 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveQtdUnitsAttacking.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLParametersConcr... | 3,925 | 34.690909 | 186 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveQtdUnitsHarversting.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasi... | 3,433 | 33.686869 | 151 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveQtdUnitsbyType.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLParametersConcr... | 1,851 | 30.389831 | 108 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveUnitsStrongest.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLParametersConcr... | 3,642 | 31.81982 | 115 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveUnitsToDistantToEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLParametersConcr... | 4,016 | 35.189189 | 139 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/HaveUnitsinEnemyRange.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLParametersConcr... | 3,760 | 34.149533 | 116 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/IConditionalFunction.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import java.util.HashMap;
import java.util.List;
/**
*
* ... | 665 | 25.64 | 121 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLBasicConditional/functions/IsPlayerInPosition.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLBasicConditional.functions;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEn... | 4,158 | 33.090164 | 109 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/AbstractBasicAction.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand;
/**
*
* @author rubens
*/
public abstract class AbstractBasicAction extends... | 347 | 19.470588 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/AbstractBooleanAction.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;... | 2,275 | 35.126984 | 139 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/AbstractCommand.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
im... | 10,403 | 32.453376 | 117 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSL_RunBattle.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand;
import ai.core.AI;
import ai.evaluation.EvaluationFunction;
import ai.evaluation.SimpleSqrtEvaluationFunction3;
import ai.mcts.naivemcts.NaiveMCTS;
import ai.synthe... | 7,473 | 35.10628 | 148 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/ValidatorLines.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand;
import ai.synthesis.dslForScriptGenerator.DSLCommandInterfaces.ICommand;
import... | 1,637 | 37.093023 | 114 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/AttackBasic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumera... | 5,735 | 36.006452 | 188 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/BuildBasic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerat... | 17,867 | 38.443709 | 224 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/ClusterBasic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParame... | 3,556 | 34.929293 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/HarvestBasic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParame... | 10,338 | 38.461832 | 183 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/MoveAwayBasic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParame... | 6,059 | 36.875 | 188 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/MoveToCoordinatesBasic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParame... | 6,076 | 36.745342 | 188 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/MoveToCoordinatesBasic_old.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParame... | 5,285 | 37.867647 | 188 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/MoveToCoordinatesOnce.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParame... | 8,355 | 34.709402 | 188 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/MoveToUnitBasic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerat... | 6,233 | 39.480519 | 188 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicAction/TrainBasic.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerat... | 10,999 | 33.375 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicBoolean/AllyRange.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParam... | 3,680 | 36.948454 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicBoolean/DistanceFromEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParam... | 3,583 | 37.12766 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicBoolean/EnemyRange.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParam... | 3,687 | 37.020619 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicBoolean/IfFunction.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean;
import ai.abstraction.pathfinding.PathFinding;
import ai.synthe... | 8,763 | 38.836364 | 183 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicBoolean/NAllyUnitsAttacking.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParam... | 2,431 | 34.764706 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicBoolean/NAllyUnitsHarvesting.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParam... | 2,426 | 34.691176 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicBoolean/NAllyUnitsofType.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IParam... | 2,415 | 35.059701 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicBoolean/NEnemyUnitsofType.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean;
import ai.synthesis.dslForScriptGenerator.DSLCommand.AbstractBo... | 2,424 | 34.661765 | 174 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLBasicLoops/ForFunction.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicLoops;
import ai.abstraction.pathfinding.PathFinding;
import ai.synthesi... | 2,601 | 30.349398 | 175 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLEnumerators/EnumPlayerTarget.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators;
/**
*
* @author rubens
*/
public enum EnumPlayerTarget {
... | 1,068 | 23.295455 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLEnumerators/EnumPositionType.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators;
/**
*
* @author rubens
*/
public enum EnumPositionType {
... | 1,378 | 26.58 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommand/DSLEnumerators/EnumTypeUnits.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators;
/**
*
* @author rubens
*/
public enum EnumTypeUnits {
Res... | 1,528 | 27.314815 | 80 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommandInterfaces/ICommand.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommandInterfaces;
import java.util.HashMap;
import java.util.HashSet;
import ai.abstra... | 710 | 28.625 | 174 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCommandInterfaces/IUnitCommand.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCommandInterfaces;
import java.util.HashMap;
import java.util.HashSet;
import ai.abstra... | 738 | 28.56 | 182 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCompiler/AbstractDSLCompiler.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCompiler;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators.EnumPlayer... | 5,871 | 34.161677 | 91 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCompiler/ConditionalDSLCompiler.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCompiler;
import ai.synthesis.dslForScriptGenerator.DSLBasicConditional.SimpleConditiona... | 9,265 | 41.310502 | 135 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCompiler/ForDSLCompiler.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCompiler;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicLoops.ForFunction... | 4,131 | 38.730769 | 93 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCompiler/FunctionDSLCompiler.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCompiler;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicAction.AttackBasi... | 12,755 | 38.8625 | 100 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCompiler/IDSLCompiler.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCompiler;
import ai.synthesis.dslForScriptGenerator.DSLCommandInterfaces.ICommand;
impo... | 571 | 23.869565 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCompiler/IfDSLCompiler.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCompiler;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLBasicBoolean.IfFunctio... | 2,429 | 36.384615 | 104 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLCompiler/MainDSLCompiler.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLCompiler;
import ai.synthesis.dslForScriptGenerator.DSLCommandInterfaces.ICommand;
impor... | 2,542 | 33.835616 | 88 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/BehaviorAbstract.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IBehavior;
... | 419 | 22.333333 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/ClosestEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import rts.GameState;
import rts.PhysicalGameState;
import rts.units... | 1,166 | 26.785714 | 102 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/ConstructionTypeParam.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators.... | 955 | 22.9 | 82 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/CoordinatesParam.java | package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.ICoordinates;
public class CoordinatesParam implements ICoordinates {
private int x,y;
public CoordinatesParam(int x, int y) {
this.x=x;
this.y=y;
}
@Override
public int getX() ... | 719 | 15.744186 | 70 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/DistanceParam.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IDistance;
... | 853 | 17.977778 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/FarthestEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import rts.GameState;
import rts.PhysicalGameState;
import rts.units... | 1,185 | 26.581395 | 102 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/LessHealthyEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import rts.GameState;
import rts.PhysicalGameState;
import rts.units... | 1,121 | 25.093023 | 80 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/MostHealthyEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import rts.GameState;
import rts.PhysicalGameState;
import rts.units... | 1,120 | 25.690476 | 80 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/PlayerTargetParam.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators.... | 1,283 | 26.319149 | 92 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/PriorityPositionParam.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators.... | 1,276 | 26.76087 | 88 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/QuantityParam.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.IDSLParameters.IQuantity;
... | 848 | 18.295455 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/RandomEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import java.util.Random;
import rts.GameState;
import rts.PhysicalG... | 1,290 | 24.313725 | 90 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/StrongestEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import rts.GameState;
import rts.PhysicalGameState;
import rts.units... | 1,129 | 24.681818 | 80 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/TypeConcrete.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators.... | 2,305 | 28.564103 | 82 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/UnitTypeParam.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators.... | 1,037 | 23.714286 | 82 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLParametersConcrete/WeakestEnemy.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.DSLParametersConcrete;
import rts.GameState;
import rts.PhysicalGameState;
import rts.units... | 1,107 | 25.380952 | 80 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLTableGenerator/FunctionsforDSL.java | package ai.synthesis.dslForScriptGenerator.DSLTableGenerator;
import java.util.ArrayList;
import java.util.List;
public class FunctionsforDSL {
String nameFunction;
List<ParameterDSL> parameters;
List<String> typeUnitDiscrete;
List<String> typeUnitTrainDiscrete;
List<String> typeStructureDis... | 17,490 | 48.549575 | 123 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/DSLTableGenerator/ParameterDSL.java | package ai.synthesis.dslForScriptGenerator.DSLTableGenerator;
import java.util.List;
public class ParameterDSL {
String parameterName;
Double superiorLimit;
Double inferiorLimit;
List<String> discreteSpecificValues;
public ParameterDSL(String parameterName, Object inferiorLimit, Object superiorLimit, Object ... | 1,291 | 21.666667 | 117 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/IDSLParameters/IBehavior.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.IDSLParameters;
import rts.GameState;
import rts.units.Unit;
/**
*
* @author rubens
*/
... | 450 | 24.055556 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/IDSLParameters/ICoordinates.java | package ai.synthesis.dslForScriptGenerator.IDSLParameters;
public interface ICoordinates extends IParameters{
public int getX();
public int getY();
public void setCoordinates(int x, int y);
}
| 205 | 24.75 | 58 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/IDSLParameters/IDistance.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.IDSLParameters;
/**
*
* @author rubens
*/
public interface IDistance extends IParameters... | 394 | 23.6875 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/IDSLParameters/IParameters.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.IDSLParameters;
/**
*
* @author rubens
*/
public interface IParameters {
}
| 312 | 19.866667 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/IDSLParameters/IPlayerTarget.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.IDSLParameters;
/**
*
* @author rubens Julian
*/
public interface IPlayerTarget extends ... | 336 | 21.466667 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/IDSLParameters/IPriorityPosition.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.IDSLParameters;
/**
*
* @author rubens
*/
public interface IPriorityPosition extends IPa... | 337 | 21.533333 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/IDSLParameters/IQuantity.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.IDSLParameters;
/**
*
* @author rubens
*/
public interface IQuantity extends IParameters... | 394 | 23.6875 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/dslForScriptGenerator/IDSLParameters/IType.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.dslForScriptGenerator.IDSLParameters;
import ai.synthesis.dslForScriptGenerator.DSLCommand.DSLEnumerators.EnumTyp... | 475 | 25.444444 | 82 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/configurations/ConfigurationsGrammar.java | package ai.synthesis.grammar.configurations;
public final class ConfigurationsGrammar {
public static final int SIZE_CHROMOSOME = 10;
public static final int SIZE_POPULATION = 100;
public static final int NUMBER_JOBS = 39;
public static final int SIZE_ELITE = 10;
public static final int SIZE_INVAD... | 1,881 | 41.772727 | 62 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/AbstractNodeDSLTree.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iDSL;
import ai.synthesis.grammar.dslTree.inte... | 1,730 | 23.380282 | 84 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/BooleanDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iBooleanDSL;
import ai.synthesis.grammar.dslTr... | 2,756 | 23.837838 | 90 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/CDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iCommandDSL;
import ai.synthesis.grammar.dslTr... | 4,138 | 26.593333 | 106 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/CommandDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iCommandDSL;
import ai.synthesis.grammar.dslTr... | 2,572 | 21.769912 | 81 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/EmptyDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iDSL;
import ai.synthesis.grammar.dslTree.inte... | 2,432 | 21.738318 | 107 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/S1DSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iDSL;
import ai.synthesis.grammar.dslTree.inte... | 3,959 | 25.4 | 101 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/S2DSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iDSL;
import ai.synthesis.grammar.dslTree.inte... | 5,649 | 28.736842 | 103 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/S3DSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iDSL;
import ai.synthesis.grammar.dslTree.inte... | 2,721 | 22.669565 | 82 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/S4DSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iDSL;
import ai.synthesis.grammar.dslTree.inte... | 3,900 | 25.006667 | 98 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/S5DSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
import ai.synthesis.grammar.dslTree.interfacesDSL.iBooleanDSL;
import ai.synthesis.grammar.dslTr... | 4,081 | 24.835443 | 92 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/S5DSLEnum.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree;
/**
*
* @author rubens
*/
public enum S5DSLEnum {
NONE, NOT, AND, OR;
}
| 303 | 19.266667 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/builderDSLTree/BuilderDSLTreeSingleton.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.builderDSLTree;
import ai.synthesis.dslForScriptGenerator.DSLTableGenerator.FunctionsforDSL;
impo... | 48,691 | 36.112805 | 103 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/builderDSLTree/BuilderSketchDSLSingleton.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.builderDSLTree;
import ai.synthesis.dslForScriptGenerator.DSLTableGenerator.FunctionsforDSL;
impo... | 9,937 | 36.220974 | 111 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/builderDSLTree/NeighbourTypeEnum.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.builderDSLTree;
/**
*
* @author rubens
*/
public enum NeighbourTypeEnum {
NON_LIMITED, LIM... | 328 | 20.933333 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/builderDSLTree/localTestsValidation.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.builderDSLTree;
import ai.synthesis.grammar.dslTree.CommandDSL;
import ai.synthesis.grammar.dslTr... | 9,776 | 40.604255 | 131 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/interfacesDSL/iBooleanDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.interfacesDSL;
/**
*
* @author rubens
*/
public interface iBooleanDSL extends iDSL, iNodeDSLTr... | 331 | 21.133333 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/interfacesDSL/iCommandDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.interfacesDSL;
/**
*
* @author rubens
*/
public interface iCommandDSL extends iDSL{
}
| 317 | 20.2 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/interfacesDSL/iDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.interfacesDSL;
import java.io.Serializable;
/**
*
* @author rubens
*/
public interface iDSL e... | 484 | 23.25 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/interfacesDSL/iEmptyDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.interfacesDSL;
/**
*
* @author rubens
*/
public interface iEmptyDSL extends iCommandDSL{
... | 322 | 20.533333 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/interfacesDSL/iNodeDSLTree.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.interfacesDSL;
import java.io.Serializable;
/**
*
* @author rubens
*/
public interface iNodeD... | 673 | 25.96 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/interfacesDSL/iS1ConstraintDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.interfacesDSL;
/**
*
* @author rubens
*/
public interface iS1ConstraintDSL extends iDSL{
... | 322 | 20.533333 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/interfacesDSL/iS4ConstraintDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.interfacesDSL;
/**
*
* @author rubens
*/
public interface iS4ConstraintDSL extends iDSL{
... | 322 | 20.533333 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/interfacesDSL/iS5ConstraintDSL.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.interfacesDSL;
/**
*
* @author rubens
*/
public interface iS5ConstraintDSL extends iDSL, iNode... | 336 | 21.466667 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/utils/ReduceDSLController.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.utils;
import ai.core.AI;
import ai.synthesis.dslForScriptGenerator.DSLCommand.AbstractBasicActio... | 17,557 | 43.450633 | 123 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/dslTree/utils/SerializableController.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ai.synthesis.grammar.dslTree.utils;
import ai.synthesis.grammar.dslTree.interfacesDSL.iDSL;
import java.io.FileInputStream;
im... | 1,337 | 28.086957 | 79 | java |
MicroRTS | MicroRTS-master/src/ai/synthesis/grammar/model/ProgramScript.java | package ai.synthesis.grammar.model;
import java.io.PrintWriter;
import java.util.ArrayList;
/**
*
* @author rubens julian
*/
public class ProgramScript {
private ArrayList<Integer> Genes;
public ProgramScript() {
this.Genes = new ArrayList<>();
}
public ArrayList<Integer> getGenes() {
return Genes;
}
... | 1,449 | 17.589744 | 92 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.