├── scripts ├── unit-tests.sh ├── build.sh ├── kill-all.sh ├── create-heatmap.sh └── run.sh ├── hyflex-hyperheuristics ├── hyflex-hh-ml │ ├── build.gradle │ └── doc │ │ └── larose-chesc.pdf ├── hyflex-hh-aco │ ├── build.gradle │ └── doc │ │ ├── Submission.txt │ │ └── nunez-chesc.pdf ├── hyflex-hh-antq │ ├── build.gradle │ └── doc │ │ └── Imen Khamassi.txt ├── hyflex-hh-avegnep │ ├── build.gradle │ ├── doc │ │ └── HyFlex │ │ │ └── CHeSCEntries │ │ │ └── Urli │ │ │ ├── urli-chesc.pdf │ │ │ └── urli-chesc1.pdf │ └── src │ │ └── main │ │ └── java │ │ └── urli │ │ └── Urli_AVEG_Action.java ├── hyflex-hh-bader │ ├── build.gradle │ └── doc │ │ └── info.txt ├── hyflex-hh-dynils │ ├── build.gradle │ └── doc │ │ ├── JohnstonVUW_abstract.pdf │ │ └── JohnstonVUW_creators.txt ├── hyflex-hh-genhive │ ├── build.gradle │ └── doc │ │ ├── csput-chesc.pdf │ │ └── csput-team-institution.txt ├── hyflex-hh-giss │ ├── build.gradle │ └── doc │ │ ├── GISS_ID.txt │ │ ├── acuna-chesc.pdf │ │ └── GISS_Document.pdf ├── hyflex-hh-haea │ ├── build.gradle │ └── doc │ │ ├── gomez-chesc.pdf │ │ └── HaeaHH-without-abstract.pdf ├── hyflex-hh-haha │ ├── build.gradle │ └── doc │ │ ├── HAHA.pdf │ │ └── affiliation-lehrbaum.txt ├── hyflex-hh-isea │ ├── build.gradle │ ├── docs │ │ └── evocop2012.pdf │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── kubalik │ │ │ ├── EvoCOPQuality.java │ │ │ └── EvoCOPRandomGenerator.java │ └── LICENSE.md ├── hyflex-hh-ksatshh │ ├── build.gradle │ └── doc │ │ ├── author.txt │ │ └── sim-chesc.pdf ├── hyflex-hh-mchhs │ ├── build.gradle │ └── doc │ │ ├── mcclymont-chesc.pdf │ │ └── Creators (MCHH-S).txt ├── hyflex-hh-nahh │ ├── build.gradle │ ├── doc │ │ └── mascia-chesc.pdf │ └── src │ │ └── main │ │ └── java │ │ └── iridia │ │ ├── .DS_Store │ │ ├── hyperheuristics │ │ ├── .DS_Store │ │ └── Algorithm.java │ │ ├── Shared.java │ │ └── MyHyperHeuristic.java ├── hyflex-hh-phunter │ ├── build.gradle │ ├── CONTRIBUTING.md │ ├── doc │ │ ├── PHunter.pdf │ │ └── FXue-LION6.ppt │ └── README.md ├── hyflex-hh-sails │ ├── build.gradle │ └── doc │ │ ├── Name and Institution.txt │ │ └── jiang-chesc.pdf ├── hyflex-hh-vnstw │ ├── build.gradle │ └── doc │ │ ├── hsiao-chesc.pdf │ │ └── Extended abstract.pdf ├── hyflex-hh-xcj │ ├── build.gradle │ └── doc │ │ ├── shafi-chesc.pdf │ │ └── Registration.txt ├── hyflex-hh-leangihh │ ├── build.gradle │ ├── CONTRIBUTING.md │ ├── LICENSE.md │ └── src │ │ └── main │ │ └── java │ │ └── leangihh │ │ └── ExampleRun.java ├── hyflex-hh-selfsearch │ ├── build.gradle │ └── doc │ │ ├── Identification.txt │ │ └── elomari-chesc.pdf ├── hyflex-hh-eph │ ├── CONTRIBUTING.md │ └── build.gradle └── hyflex-hh-adaphh │ ├── docs │ └── HyFlex │ │ └── CHeSCEntries │ │ └── Misir │ │ ├── misir-chesc.pdf │ │ └── README.txt │ ├── build.gradle │ ├── README.md │ └── src │ └── main │ └── java │ └── be │ └── kuleuven │ └── kahosl │ ├── acceptance │ ├── DutyType.java │ └── AcceptanceCriterionType.java │ ├── problem │ └── ProblemName.java │ ├── hyperheuristic │ └── HeuristicClassType.java │ └── selection │ └── SelectionMethodType.java ├── hyflex-ext ├── CONTRIBUTING.md ├── src │ └── main │ │ └── java │ │ ├── hfu │ │ ├── Util.java │ │ ├── BenchmarkInfo.java │ │ ├── Parser.java │ │ ├── heuristics │ │ │ ├── modifiers │ │ │ │ ├── nh │ │ │ │ │ ├── SamplableNH.java │ │ │ │ │ ├── IterableNH.java │ │ │ │ │ ├── filter │ │ │ │ │ │ └── Filter.java │ │ │ │ │ ├── RandomIterable.java │ │ │ │ │ ├── NeighbourHood.java │ │ │ │ │ ├── IteratorNH.java │ │ │ │ │ └── FilteredIterator.java │ │ │ │ ├── DestructiveModifier.java │ │ │ │ ├── PerturbativeModifier.java │ │ │ │ ├── ConstructiveModifier.java │ │ │ │ └── Modifier.java │ │ │ ├── RuinRecreateHeuristic.java │ │ │ ├── selector │ │ │ │ ├── Proposal.java │ │ │ │ ├── eval │ │ │ │ │ ├── EvaluationFunction.java │ │ │ │ │ └── ObjectiveFunction.java │ │ │ │ ├── Selector.java │ │ │ │ └── SelectRandom.java │ │ │ ├── PerturbationHeuristic.java │ │ │ ├── MutationHeuristic.java │ │ │ ├── Heuristic.java │ │ │ ├── ConstructionHeuristic.java │ │ │ ├── CrossoverHeuristic.java │ │ │ ├── LocalSearchHeuristic.java │ │ │ ├── ModifierLocalSearchHeuristic.java │ │ │ ├── ModifierConstructionHeuristic.java │ │ │ └── ModifierMutationHeuristic.java │ │ ├── ParameterUsage.java │ │ ├── RNG.java │ │ ├── BenchmarkInstance.java │ │ ├── parsers │ │ │ ├── CFGParser.java │ │ │ ├── MyCFGParser.java │ │ │ ├── LLCFGParser.java │ │ │ ├── cfg │ │ │ │ └── pep │ │ │ │ │ ├── Status.java │ │ │ │ │ ├── PepException.java │ │ │ │ │ └── ParserEvent.java │ │ │ └── EarleyCFGParser.java │ │ ├── datastructures │ │ │ ├── Graph.java │ │ │ └── AdjecencyList.java │ │ ├── Parameters.java │ │ └── BasicSolution.java │ │ ├── KP │ │ ├── heuristics │ │ │ ├── ConstructEmpty.java │ │ │ └── IntersectCrossover.java │ │ ├── evalfs │ │ │ ├── MinWeight.java │ │ │ └── MaxProfitPerPound.java │ │ ├── modifiers │ │ │ ├── Insert.java │ │ │ ├── Swap.java │ │ │ └── Remove.java │ │ ├── InfoKP.java │ │ └── parsers │ │ │ └── CFGParserKP.java │ │ ├── Test.java │ │ ├── MAC │ │ ├── InfoMAC.java │ │ ├── heuristics │ │ │ ├── MultiParentCrossover.java │ │ │ └── OnePointCrossover.java │ │ ├── modifiers │ │ │ ├── Swap.java │ │ │ ├── Remove.java │ │ │ ├── RemoveRadial.java │ │ │ ├── SwapNeighbours.java │ │ │ └── Insert.java │ │ └── parsers │ │ │ └── CFGParserMAC.java │ │ └── QAP │ │ ├── heuristics │ │ ├── RandomInit.java │ │ ├── ReAssignGreedyF.java │ │ ├── ReAssignGreedyL.java │ │ ├── ReAssignRandom.java │ │ ├── OrderedXO.java │ │ ├── PartiallyMatchedXO.java │ │ └── BestSwap.java │ │ └── Swap.java ├── domains │ ├── README.md │ ├── kp │ │ ├── kp.pdf │ │ └── hyflex_kp.jar │ ├── mac │ │ ├── mac.pdf │ │ └── hyflex_mac.jar │ ├── qap │ │ ├── qap.pdf │ │ └── hyflex_qap.jar │ └── hyflex_ext.jar ├── naive │ ├── AcceptAllHH.java │ └── AcceptNoWorseHH.java ├── build.gradle └── LICENSE.md ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── docs ├── hyflex │ └── CHeSCInstanceSummary.pdf ├── concepts │ └── leaderboard-calculation.png └── unit-metric │ └── unit-metric-formula.tex ├── hyflex ├── src │ └── main │ │ ├── java │ │ ├── AbstractClasses │ │ │ └── ProblemDomain.java │ │ ├── FlowShop │ │ │ └── Solution.java │ │ ├── travelingSalesmanProblem │ │ │ └── TspSolution.java │ │ ├── VRP │ │ │ └── Solution.java │ │ └── BinPacking │ │ │ └── Piece.java │ │ └── resources │ │ └── data │ │ ├── flowshop │ │ ├── 20x10 │ │ │ ├── upper_lower_bound.txt │ │ │ ├── 1.txt │ │ │ ├── 10.txt │ │ │ ├── 2.txt │ │ │ ├── 3.txt │ │ │ ├── 4.txt │ │ │ ├── 5.txt │ │ │ ├── 6.txt │ │ │ ├── 7.txt │ │ │ ├── 8.txt │ │ │ └── 9.txt │ │ ├── 20x5 │ │ │ ├── upper_lower_bound.txt │ │ │ ├── 1.txt │ │ │ ├── 10.txt │ │ │ ├── 2.txt │ │ │ ├── 3.txt │ │ │ ├── 4.txt │ │ │ ├── 5.txt │ │ │ ├── 6.txt │ │ │ ├── 7.txt │ │ │ ├── 8.txt │ │ │ └── 9.txt │ │ ├── 20x20 │ │ │ └── upper_lower_bound.txt │ │ ├── 50x20 │ │ │ └── upper_lower_bound.txt │ │ ├── 50x5 │ │ │ ├── upper_lower_bound.txt │ │ │ ├── 1.txt │ │ │ ├── 10.txt │ │ │ ├── 2.txt │ │ │ ├── 3.txt │ │ │ ├── 4.txt │ │ │ ├── 5.txt │ │ │ ├── 6.txt │ │ │ ├── 7.txt │ │ │ ├── 8.txt │ │ │ └── 9.txt │ │ ├── 100x10 │ │ │ └── upper_lower_bound.txt │ │ ├── 100x20 │ │ │ └── upper_lower_bound.txt │ │ ├── 100x5 │ │ │ └── upper_lower_bound.txt │ │ ├── 50x10 │ │ │ ├── upper_lower_bound.txt │ │ │ ├── 1.txt │ │ │ ├── 10.txt │ │ │ ├── 2.txt │ │ │ ├── 3.txt │ │ │ ├── 4.txt │ │ │ ├── 5.txt │ │ │ ├── 6.txt │ │ │ ├── 7.txt │ │ │ └── 8.txt │ │ ├── 200x10 │ │ │ └── upper_lower_bound.txt │ │ ├── 200x20 │ │ │ └── upper_lower_bound.txt │ │ ├── JobCorrelated │ │ │ └── 20x20 │ │ │ │ ├── a050.txt │ │ │ │ ├── a850.txt │ │ │ │ ├── a1050.txt │ │ │ │ ├── a650.txt │ │ │ │ ├── a750.txt │ │ │ │ ├── a950.txt │ │ │ │ ├── a150.txt │ │ │ │ ├── a250.txt │ │ │ │ ├── a350.txt │ │ │ │ └── a450.txt │ │ ├── MachineCorrelated │ │ │ └── 20x20 │ │ │ │ ├── a350.txt │ │ │ │ ├── a1050.txt │ │ │ │ ├── a850.txt │ │ │ │ ├── a750.txt │ │ │ │ ├── a050.txt │ │ │ │ ├── a150.txt │ │ │ │ ├── a250.txt │ │ │ │ ├── a450.txt │ │ │ │ ├── a550.txt │ │ │ │ ├── a650.txt │ │ │ │ └── a950.txt │ │ ├── MixedCorrelated │ │ │ └── 20x20 │ │ │ │ ├── a1050.txt │ │ │ │ ├── a950.txt │ │ │ │ ├── a650.txt │ │ │ │ ├── a850.txt │ │ │ │ ├── a750.txt │ │ │ │ ├── a050.txt │ │ │ │ ├── a150.txt │ │ │ │ ├── a250.txt │ │ │ │ ├── a350.txt │ │ │ │ ├── a450.txt │ │ │ │ └── a550.txt │ │ └── 500x20 │ │ │ └── upper_lower_bounds.txt │ │ └── binpacking │ │ └── waescher │ │ ├── waescherhard2.txt │ │ └── waescherhard1.txt ├── build.gradle └── README.md ├── Dockerfile ├── maven-repo ├── hyflex │ └── chesc-ps │ │ ├── 2019.03.17 │ │ ├── chesc-ps-2019.03.17.jar │ │ └── chesc-ps-2019.03.17.pom │ │ └── maven-metadata-local.xml └── org │ └── seage │ └── seage-misc │ ├── 1.0.0-SNAPSHOT │ ├── seage-misc-1.0.0-SNAPSHOT.jar │ └── maven-metadata-local.xml │ └── maven-metadata-local.xml ├── .gitignore ├── CREDITS.md ├── hyflex-chesc-2011 ├── src │ ├── main │ │ └── java │ │ │ └── hyflex │ │ │ └── chesc2011 │ │ │ ├── launcher │ │ │ └── commands │ │ │ │ ├── Command.java │ │ │ │ └── CompetitionCreateHeatmapCommand.java │ │ │ └── evaluation │ │ │ └── calculators │ │ │ └── HyflexScoreCalculator.java │ └── test │ │ └── resources │ │ └── hyflex │ │ └── hyflex-chesc-2011 │ │ └── test-result-card.json └── build.gradle ├── settings.gradle ├── .vscode └── settings.json └── .gitlab-ci.yml /scripts/unit-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./gradlew test -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-ml/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-aco/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-antq/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-avegnep/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-bader/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-dynils/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-genhive/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-giss/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-haea/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-haha/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-isea/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-ksatshh/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-mchhs/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-nahh/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-phunter/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-sails/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-vnstw/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-xcj/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-leangihh/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-selfsearch/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | } 3 | -------------------------------------------------------------------------------- /hyflex-ext/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Forked from: 2 | 3 | https://github.com/Steven-Adriaensen/hyflext 4 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/Util.java: -------------------------------------------------------------------------------- 1 | package hfu; 2 | 3 | public class Util { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /hyflex-ext/domains/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/domains/README.md -------------------------------------------------------------------------------- /hyflex-ext/domains/kp/kp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/domains/kp/kp.pdf -------------------------------------------------------------------------------- /hyflex-ext/domains/mac/mac.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/domains/mac/mac.pdf -------------------------------------------------------------------------------- /hyflex-ext/domains/qap/qap.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/domains/qap/qap.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-selfsearch/doc/Identification.txt: -------------------------------------------------------------------------------- 1 | Jawad A. Elomari. 2 | Warwick Business School. -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /hyflex-ext/domains/hyflex_ext.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/domains/hyflex_ext.jar -------------------------------------------------------------------------------- /hyflex-ext/domains/kp/hyflex_kp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/domains/kp/hyflex_kp.jar -------------------------------------------------------------------------------- /hyflex-ext/naive/AcceptAllHH.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/naive/AcceptAllHH.java -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-eph/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Forked from: 2 | 3 | https://github.com/dmeignan/eph-chesc 4 | -------------------------------------------------------------------------------- /scripts/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd $(dirname "$0")/.. 4 | 5 | #Build the project 6 | ./gradlew clean installDist -------------------------------------------------------------------------------- /docs/hyflex/CHeSCInstanceSummary.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/docs/hyflex/CHeSCInstanceSummary.pdf -------------------------------------------------------------------------------- /hyflex-ext/domains/mac/hyflex_mac.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/domains/mac/hyflex_mac.jar -------------------------------------------------------------------------------- /hyflex-ext/domains/qap/hyflex_qap.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/domains/qap/hyflex_qap.jar -------------------------------------------------------------------------------- /hyflex-ext/naive/AcceptNoWorseHH.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-ext/naive/AcceptNoWorseHH.java -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/BenchmarkInfo.java: -------------------------------------------------------------------------------- 1 | package hfu; 2 | 3 | public interface BenchmarkInfo { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-phunter/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Forked from: 2 | 3 | https://github.com/ffxue/pearl-hunter 4 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-ksatshh/doc/author.txt: -------------------------------------------------------------------------------- 1 | Kevin Sim 2 | Edinburgh Napier University 3 | k.sim@napier.ac.uk 4 | -------------------------------------------------------------------------------- /docs/concepts/leaderboard-calculation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/docs/concepts/leaderboard-calculation.png -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-leangihh/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Forked from: 2 | 3 | https://github.com/Steven-Adriaensen/Lean-GIHH 4 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-haha/doc/HAHA.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-haha/doc/HAHA.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-bader/doc/info.txt: -------------------------------------------------------------------------------- 1 | Mohamed Bader-El-Den 2 | University of Portsmouth 3 | School of Computing 4 | mobahy@gmail.com 5 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-eph/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | implementation group: 'com.beust', name: 'jcommander', version: '1.78' 3 | } 4 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-sails/doc/Name and Institution.txt: -------------------------------------------------------------------------------- 1 | Name: He Jiang 2 | Institution: OSCAR Group, Dalian University of Technology, China -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-aco/doc/Submission.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-aco/doc/Submission.txt -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-giss/doc/GISS_ID.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-giss/doc/GISS_ID.txt -------------------------------------------------------------------------------- /hyflex/src/main/java/AbstractClasses/ProblemDomain.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex/src/main/java/AbstractClasses/ProblemDomain.java -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM openjdk:17-jdk-slim 2 | 3 | WORKDIR /hyflex 4 | 5 | COPY . . 6 | 7 | RUN ./scripts/build.sh 8 | 9 | CMD tail -f /dev/null 10 | 11 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/Parser.java: -------------------------------------------------------------------------------- 1 | package hfu; 2 | 3 | public interface Parser

{ 4 | public P parse(String file); 5 | } 6 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-aco/doc/nunez-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-aco/doc/nunez-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-giss/doc/acuna-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-giss/doc/acuna-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-haea/doc/gomez-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-haea/doc/gomez-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-isea/docs/evocop2012.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-isea/docs/evocop2012.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-ml/doc/larose-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-ml/doc/larose-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-phunter/doc/PHunter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-phunter/doc/PHunter.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-xcj/doc/shafi-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-xcj/doc/shafi-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-genhive/doc/csput-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-genhive/doc/csput-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-giss/doc/GISS_Document.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-giss/doc/GISS_Document.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-ksatshh/doc/sim-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-ksatshh/doc/sim-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-nahh/doc/mascia-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-nahh/doc/mascia-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-phunter/doc/FXue-LION6.ppt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-phunter/doc/FXue-LION6.ppt -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-sails/doc/jiang-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-sails/doc/jiang-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-vnstw/doc/hsiao-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-vnstw/doc/hsiao-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-haha/doc/affiliation-lehrbaum.txt: -------------------------------------------------------------------------------- 1 | Andreas Lehrbaum 2 | Vienna University of Technology 3 | Database and Artificial Intelligence Group 4 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-mchhs/doc/mcclymont-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-mchhs/doc/mcclymont-chesc.pdf -------------------------------------------------------------------------------- /maven-repo/hyflex/chesc-ps/2019.03.17/chesc-ps-2019.03.17.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/maven-repo/hyflex/chesc-ps/2019.03.17/chesc-ps-2019.03.17.jar -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-antq/doc/Imen Khamassi.txt: -------------------------------------------------------------------------------- 1 | Name: Imen Khamassi 2 | Mail: imenkhamassi@yahoo.fr 3 | Affiliation: Heigher Institute of Management of Tunis,Tunisia -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-selfsearch/doc/elomari-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-selfsearch/doc/elomari-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-vnstw/doc/Extended abstract.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-vnstw/doc/Extended abstract.pdf -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/nh/SamplableNH.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers.nh; 2 | 3 | public interface SamplableNH{ 4 | int[] sample(); 5 | } 6 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-dynils/doc/JohnstonVUW_abstract.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-dynils/doc/JohnstonVUW_abstract.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-haea/doc/HaeaHH-without-abstract.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-haea/doc/HaeaHH-without-abstract.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-nahh/src/main/java/iridia/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-nahh/src/main/java/iridia/.DS_Store -------------------------------------------------------------------------------- /hyflex/build.gradle: -------------------------------------------------------------------------------- 1 | repositories { 2 | jcenter() 3 | 4 | maven { 5 | url "file://$projectDir/../maven-repo" 6 | } 7 | } 8 | 9 | dependencies { 10 | } 11 | -------------------------------------------------------------------------------- /scripts/kill-all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ps xau | grep bash | grep run-all | awk '{print $2}' | xargs kill -9 4 | ps xau | grep java | grep hyflex | awk '{print $2}' | xargs kill -9 5 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/nh/IterableNH.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers.nh; 2 | 3 | public interface IterableNH{ 4 | IteratorNH getIterator(); 5 | } 6 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-genhive/doc/csput-team-institution.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-genhive/doc/csput-team-institution.txt -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/ParameterUsage.java: -------------------------------------------------------------------------------- 1 | package hfu; 2 | 3 | public interface ParameterUsage { 4 | boolean usesDepthOfSearch(); 5 | boolean usesIntensityOfMutation(); 6 | } 7 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/nh/filter/Filter.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers.nh.filter; 2 | 3 | public interface Filter { 4 | boolean include(int[] param); 5 | } 6 | -------------------------------------------------------------------------------- /maven-repo/org/seage/seage-misc/1.0.0-SNAPSHOT/seage-misc-1.0.0-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/maven-repo/org/seage/seage-misc/1.0.0-SNAPSHOT/seage-misc-1.0.0-SNAPSHOT.jar -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-avegnep/doc/HyFlex/CHeSCEntries/Urli/urli-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-avegnep/doc/HyFlex/CHeSCEntries/Urli/urli-chesc.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-avegnep/doc/HyFlex/CHeSCEntries/Urli/urli-chesc1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-avegnep/doc/HyFlex/CHeSCEntries/Urli/urli-chesc1.pdf -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-nahh/src/main/java/iridia/hyperheuristics/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-nahh/src/main/java/iridia/hyperheuristics/.DS_Store -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/docs/HyFlex/CHeSCEntries/Misir/misir-chesc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seage/hyflex/HEAD/hyflex-hyperheuristics/hyflex-hh-adaphh/docs/HyFlex/CHeSCEntries/Misir/misir-chesc.pdf -------------------------------------------------------------------------------- /hyflex-ext/build.gradle: -------------------------------------------------------------------------------- 1 | repositories { 2 | jcenter() 3 | 4 | maven { 5 | url "file://$projectDir/../maven-repo" 6 | } 7 | } 8 | 9 | dependencies { 10 | implementation project(':hyflex') 11 | } 12 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/nh/RandomIterable.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers.nh; 2 | 3 | 4 | 5 | public interface RandomIterable extends IterableNH{ 6 | IteratorNH getRandomIterator(); 7 | } 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-mchhs/doc/Creators (MCHH-S).txt: -------------------------------------------------------------------------------- 1 | Kent McClymont 2 | km314@exeter.ac.uk 3 | 4 | Ed Keedwell 5 | e.c.keedwell@exeter.ac.uk 6 | 7 | College of Engineering, Mathematics and Physical Sciences, University of Exeter, Exeter, EX4 4QF 8 | -------------------------------------------------------------------------------- /hyflex/README.md: -------------------------------------------------------------------------------- 1 | The HyFlex sources from Gabriela Ochoa. They slightly differ from the ones decompiled from CHeSC jars. That's the reason why the current HyFlex build still depends on the HyFlex jars (from the local `maven-repo`). The sources are here for study purposes. -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.class 3 | private/ 4 | dist/ 5 | build/ 6 | .gradle/ 7 | .settings/ 8 | results/ 9 | venv 10 | *.log* 11 | **/bin/ 12 | 13 | .classpath 14 | .project 15 | 16 | hyflex-*/**/.settings 17 | hyflex-*/**/.checkstyle 18 | hyflex-*/**/*.properties 19 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 1582 1448 2 | 1659 1479 3 | 1496 1407 4 | 1378 1308 5 | 1419 1325 6 | 1397 1290 7 | 1484 1388 8 | 1538 1363 9 | 1593 1472 10 | 1591 1356 11 | -------------------------------------------------------------------------------- /CREDITS.md: -------------------------------------------------------------------------------- 1 | ## Credits 2 | 3 | ### HyFlex 4 | - University of Nottingham 5 | - [Gabriela Ochoa](https://en.wikipedia.org/wiki/Gabriela_Ochoa) 6 | - Matthew Hyde 7 | 8 | ### HyFlex extension (hyflex-ext) 9 | - [Steven Adriaensen](https://ml.informatik.uni-freiburg.de/profile/adriaensen/) -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 1278 1232 2 | 1359 1290 3 | 1081 1073 4 | 1293 1268 5 | 1236 1198 6 | 1195 1180 7 | 1239 1226 8 | 1206 1170 9 | 1230 1206 10 | 1108 1082 89 57 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x20/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 2297 1911 2 | 2100 1711 3 | 2326 1844 4 | 2223 1810 5 | 2291 1899 6 | 2226 1875 7 | 2273 1875 8 | 2200 1880 9 | 2237 1840 10 | 2178 1900 11 | 12 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x20/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 3875 3480 2 | 3715 3424 3 | 3668 3351 4 | 3752 3336 5 | 3635 3313 6 | 3698 3460 7 | 3716 3427 8 | 3709 3383 9 | 3765 3457 10 | 3777 3438 11 | 12 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 2724 2712 2 | 2834 2808 3 | 2621 2596 4 | 2751 2740 5 | 2863 2837 6 | 2829 2793 7 | 2725 2689 8 | 2683 2667 9 | 2552 2527 10 | 2782 2776 11 | 12 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-xcj/doc/Registration.txt: -------------------------------------------------------------------------------- 1 | Name: Kamran Shafi, Hussein A. Abbass 2 | Email: k.shafi@adfa.edu.au, h.abbass@adfa.edu.au 3 | Affiliation: School of Engineering & Information Technology (SEIT), University of New South Wales, Australian Defence Force Academy, Canberra, Australia. 4 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/RuinRecreateHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | 6 | abstract public class RuinRecreateHeuristic,P extends BenchmarkInfo> extends PerturbationHeuristic { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /hyflex-chesc-2011/src/main/java/hyflex/chesc2011/launcher/commands/Command.java: -------------------------------------------------------------------------------- 1 | package hyflex.chesc2011.launcher.commands; 2 | 3 | /** 4 | * Abstract class for commands. 5 | * 6 | * @author David Omrai 7 | */ 8 | public abstract class Command { 9 | public abstract void performCommand() throws Exception; 10 | } -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/selector/Proposal.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.selector; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | 6 | public class Proposal, P extends BenchmarkInfo> { 7 | public T c_proposed; 8 | public int nModifications; 9 | } 10 | -------------------------------------------------------------------------------- /scripts/create-heatmap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd `dirname $0` 3 | 4 | cd heatmap 5 | 6 | # Install dependecies 7 | python3 -m venv venv 8 | . ./venv/bin/activate 9 | pip install -r requirements.txt > /dev/null 10 | cd ../.. 11 | # Run the python script 12 | python3 ./scripts/heatmap/main.py $1 13 | 14 | deactivate 15 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/RNG.java: -------------------------------------------------------------------------------- 1 | package hfu; 2 | 3 | import java.util.Random; 4 | 5 | public class RNG { 6 | private static Random rng = new Random(); 7 | 8 | static void setSeed(long seed){ 9 | rng = new Random(seed); 10 | } 11 | 12 | static public Random get(){ 13 | return rng; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/selector/eval/EvaluationFunction.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.selector.eval; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | 6 | public interface EvaluationFunction, P extends BenchmarkInfo> { 7 | void init (P instance); 8 | double evaluate(T c); 9 | } 10 | -------------------------------------------------------------------------------- /scripts/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd $(dirname "$0") 4 | cd .. 5 | 6 | # Test if project jar exists 7 | if [ ! -f hyflex-chesc-2011/build/install/hyflex-chesc-2011/lib/hyflex-chesc-2011*.jar ]; then 8 | echo "Project needs to be compiled!" 9 | exit 10 | fi 11 | 12 | # Run the project 13 | ./hyflex-chesc-2011/build/install/hyflex-chesc-2011/bin/hyflex-chesc-2011 $@ -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/BenchmarkInstance.java: -------------------------------------------------------------------------------- 1 | package hfu; 2 | 3 | public class BenchmarkInstance

{ 4 | String file; 5 | Parser

parser; 6 | 7 | public BenchmarkInstance(String file, Parser

parser){ 8 | this.file = file; 9 | this.parser = parser; 10 | } 11 | 12 | P load(){ 13 | return parser.parse(file); 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/PerturbationHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.ParameterUsage; 6 | 7 | abstract public class PerturbationHeuristic,P extends BenchmarkInfo> extends Heuristic

implements ParameterUsage{ 8 | abstract public T apply(T c); 9 | } 10 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/parsers/CFGParser.java: -------------------------------------------------------------------------------- 1 | package hfu.parsers; 2 | 3 | import hfu.BenchmarkInfo; 4 | import hfu.Parser; 5 | import hfu.parsers.cfg.EBNF; 6 | import hfu.parsers.cfg.MyParseTree; 7 | 8 | abstract public interface CFGParser

extends Parser

{ 9 | public EBNF getEBNF(); 10 | public P interpret(MyParseTree ptree); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/heuristics/ConstructEmpty.java: -------------------------------------------------------------------------------- 1 | package KP.heuristics; 2 | 3 | import KP.InfoKP; 4 | import KP.SolutionKP; 5 | import hfu.heuristics.ConstructionHeuristic; 6 | 7 | public class ConstructEmpty extends ConstructionHeuristic{ 8 | 9 | @Override 10 | public SolutionKP apply() { 11 | return new SolutionKP(instance); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/100x10/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 5770 5759 2 | 5349 5345 3 | 5677 5623 4 | 5791 5732 5 | 5468 5431 6 | 5303 5246 7 | 5599 5523 8 | 5623 5556 9 | 5875 5779 10 | 5845 583081 7 43 79 27 66 27 92 29 87 57 67 95 10 84 25 96 27 35 59 1 55 30 78 29 76 39 10 89 77 49 56 52 43 37 22 85 61 49 82 49 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/100x20/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 6286 5851 2 | 6241 6099 3 | 6329 6099 4 | 6306 6072 5 | 6377 6009 6 | 6437 6144 7 | 6346 5991 8 | 6481 6084 9 | 6358 5979 10 | 6465 6298 7 96 33 8 40 4 55 43 73 90 68 79 50 62 47 22 54 94 23 14 60 13 22 57 23 97 11 53 3 18 66 75 51 81 90 17 6 79 71 97 76 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/100x5/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 5493 5437 2 | 5268 5208 3 | 5175 5130 4 | 5014 4963 5 | 5250 5195 6 | 5135 5063 7 | 5246 5198 8 | 5106 5038 9 | 5454 5385 10 | 5328 527214 74 81 60 35 73 83 24 42 61 9 67 55 58 48 38 55 30 76 47 4 3 57 32 62 61 72 67 59 57 80 97 73 75 58 74 32 87 6 47 65 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 3025 2907 2 | 2892 2821 3 | 2864 2801 4 | 3064 2968 5 | 2986 2908 6 | 3006 2941 7 | 3107 3062 8 | 3039 2959 9 | 2902 2795 10 | 3091 30461 95 18 49 69 86 28 6 40 88 94 78 43 31 54 80 11 27 3 32 2 49 27 81 18 83 84 49 64 20 52 42 51 66 95 18 37 70 22 87 67 15 11 | -------------------------------------------------------------------------------- /maven-repo/hyflex/chesc-ps/maven-metadata-local.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hyflex 4 | chesc-ps 5 | 6 | 2019.03.17 7 | 8 | 2019.03.17 9 | 10 | 20210105104748 11 | 12 | 13 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/MutationHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | 6 | abstract public class MutationHeuristic,P extends BenchmarkInfo> extends PerturbationHeuristic { 7 | 8 | @Override 9 | public boolean usesDepthOfSearch() { 10 | return false; 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/nh/NeighbourHood.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers.nh; 2 | 3 | import hfu.BenchmarkInfo; 4 | 5 | abstract public class NeighbourHood

{ 6 | 7 | protected P instance; 8 | 9 | public NeighbourHood(P instance){ 10 | this.instance = instance; 11 | } 12 | 13 | abstract public int getDimensionality(); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /maven-repo/org/seage/seage-misc/maven-metadata-local.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.seage 4 | seage-misc 5 | 6 | 1.0.0-SNAPSHOT 7 | 8 | 1.0.0-SNAPSHOT 9 | 10 | 20220724165128 11 | 12 | 13 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/datastructures/Graph.java: -------------------------------------------------------------------------------- 1 | package hfu.datastructures; 2 | 3 | import hfu.datastructures.AdjecencyList.Neighbor; 4 | 5 | import java.util.ArrayList; 6 | 7 | public interface Graph { 8 | public void addEdge(int v1, int v2, int w); 9 | 10 | public int getNedges(); 11 | 12 | public int getNvertices(); 13 | 14 | public ArrayList getNeighbors(int v); 15 | } 16 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'hyflex' 2 | include('hyflex') 3 | include('hyflex-chesc-2011') 4 | include('hyflex-ext') 5 | 6 | // Include all hyperheuristics 7 | new File("./hyflex-hyperheuristics/").listFiles().each 8 | { 9 | if (it.directory && new File(it, 'build.gradle').exists()) 10 | { 11 | include("${it.name}") 12 | project(":${it.name}").projectDir = file("hyflex-hyperheuristics/${it.name}") 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/Test.java: -------------------------------------------------------------------------------- 1 | import KP.KnapsackProblem; 2 | 3 | public class Test { 4 | public static void main(String[] args) { 5 | KnapsackProblem kp = new KnapsackProblem(0L); 6 | kp.loadInstance(8); 7 | } 8 | } 9 | 10 | 11 | /* Location: C:\Users\Steve\Documents\GitHub\hyflext\domains\hyflex_ext.jar!\Test.class 12 | * Java compiler version: 7 (51.0) 13 | * JD-Core Version: 1.1.3 14 | */ -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/Heuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BenchmarkInfo; 4 | import hfu.Parameters; 5 | 6 | abstract public class Heuristic

{ 7 | 8 | protected Parameters params; 9 | 10 | public abstract void init(P instance); 11 | 12 | public void init(P instance, Parameters params){ 13 | this.params = params; 14 | init(instance); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/ConstructionHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | 6 | abstract public class ConstructionHeuristic, P extends BenchmarkInfo> extends Heuristic

{ 7 | protected P instance; 8 | 9 | abstract public T apply(); 10 | 11 | @Override 12 | public void init(P instance) { 13 | this.instance = instance; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /hyflex-chesc-2011/src/main/java/hyflex/chesc2011/evaluation/calculators/HyflexScoreCalculator.java: -------------------------------------------------------------------------------- 1 | package hyflex.chesc2011.evaluation.calculators; 2 | 3 | import hyflex.chesc2011.evaluation.scorecard.ScoreCard; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Interface for score calculators. 9 | * 10 | * @author David Omrai 11 | */ 12 | public interface HyflexScoreCalculator { 13 | public List calculateScores(List card) throws Exception; 14 | } 15 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30' 3 | implementation group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.15' 4 | } 5 | 6 | sourceSets { 7 | main { 8 | java { 9 | // srcDir 'src' 10 | exclude '**/be/kuleuven/kahosl/jppf/CHClient.java' 11 | exclude '**/be/kuleuven/kahosl/jppf/CHTask.java' 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/CrossoverHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | 6 | abstract public class CrossoverHeuristic,P extends BenchmarkInfo> extends PerturbationHeuristic{ 7 | abstract public T apply(T c1, T c2); 8 | 9 | 10 | @SuppressWarnings("unchecked") 11 | @Override 12 | public T apply(T c) { 13 | return apply(c,(T) c.deepCopy()); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/DestructiveModifier.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.heuristics.modifiers.nh.NeighbourHood; 6 | 7 | abstract public class DestructiveModifier,P extends BenchmarkInfo, N extends NeighbourHood

> extends Modifier { 8 | @Override 9 | public 10 | boolean isApplicable(T c) { 11 | return !c.isEmpty(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/PerturbativeModifier.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.heuristics.modifiers.nh.NeighbourHood; 6 | 7 | abstract public class PerturbativeModifier, P extends BenchmarkInfo, N extends NeighbourHood

> extends Modifier { 8 | @Override 9 | public 10 | boolean isApplicable(T c) { 11 | return !c.isPartial(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/selector/eval/ObjectiveFunction.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.selector.eval; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | 6 | public class ObjectiveFunction, P extends BenchmarkInfo> implements EvaluationFunction{ 7 | 8 | @Override 9 | public void init(P instance) { 10 | 11 | } 12 | 13 | @Override 14 | public double evaluate(T c) { 15 | return c.getFunctionValue(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "java.configuration.updateBuildConfiguration": "automatic", 3 | "java.dependency.packagePresentation": "flat", 4 | "java.dependency.syncWithFolderExplorer": true, 5 | "java.checkstyle.configuration": "/google_checks.xml", 6 | "java.format.settings.url": "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml", 7 | "java.format.enabled": true, 8 | "java.format.settings.profile": "GoogleStyle", 9 | "maven.pomfile.autoUpdateEffectivePOM": true 10 | } -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/evalfs/MinWeight.java: -------------------------------------------------------------------------------- 1 | package KP.evalfs; 2 | 3 | import KP.InfoKP; 4 | import KP.SolutionKP; 5 | import hfu.heuristics.selector.eval.EvaluationFunction; 6 | 7 | public class MinWeight implements EvaluationFunction{ 8 | 9 | @Override 10 | public void init(InfoKP instance) { 11 | // TODO Auto-generated method stub 12 | 13 | } 14 | 15 | @Override 16 | public double evaluate(SolutionKP c) { 17 | return c.getPackedWeight(); 18 | } 19 | 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-dynils/doc/JohnstonVUW_creators.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Authors: Mark Johnston, Thomas Liddle, Joel Miller and Mengjie Zhang 4 | 5 | 6 | Mark Johnston, Thomas Liddle and Joel Miller 7 | School of Mathematics, Statistics and Operations Research 8 | Victoria University of Wellington, PO Box 600, Wellington, New Zealand 9 | 10 | Mengjie Zhang 11 | School of Engineering and Computer Science 12 | Victoria University of Wellington, PO Box 600, Wellington, New Zealand 13 | 14 | Email: mark.johnston@vuw.ac.nz 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /maven-repo/hyflex/chesc-ps/2019.03.17/chesc-ps-2019.03.17.pom: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | hyflex 6 | chesc-ps 7 | 2019.03.17 8 | POM was created from install:install-file 9 | 10 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/README.md: -------------------------------------------------------------------------------- 1 | # GIHH 2 | Generic Intelligent Hyper-heuristic (GIHH) is a selection hyper-heuristic designed for generality. GIHH is equipped with multiple online adaptive hyper-heuristic procedures and decision mechanisms for simultaneously coordinating them. It is expected to evolve for different search environments without human intervention. 3 | 4 | For more details: http://allserv.kahosl.be/~mustafa.misir/gihh 5 | 6 | # Project Information 7 | The project was created on Aug 30, 2012. 8 | 9 | License: GNU GPL v3 10 | svn-based source control -------------------------------------------------------------------------------- /docs/unit-metric/unit-metric-formula.tex: -------------------------------------------------------------------------------- 1 | \begin{aligned} 2 | & U = \frac{1}{|P|} \sum_{i=1}^{|P|}{U_{i}}\in \left\langle 0,1 \right\rangle 3 | &&\text{ where } P\in\{ SAT, TSP, FSP, QAP,... \} 4 | \\ 5 | \\ 6 | &U_i = \frac{\sum_{j=1}^{|P_i|}{w_{P_ij}U_{P_ij}}}{\sum_{j=1}^{|P_i|}{w_{P_ij}}} &&\text{ where } P_i \text{ are instances of } P \text{, } w_{P_ij} \text{ is size of }j\text{-th instance} 7 | \\ 8 | \\ 9 | &U_{P_ij} = 1-\frac{f_{P_i}(solution_{P_ij}) - optimum_{P_i}}{greedy_{P_i} - optimum_{P_i}} &&\text{ where } f_{P_i} \text{ is objective function of } P_i 10 | \end{aligned} 11 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/InfoMAC.java: -------------------------------------------------------------------------------- 1 | package MAC; 2 | 3 | import hfu.BenchmarkInfo; 4 | import hfu.datastructures.AdjecencyList; 5 | import hfu.datastructures.Graph; 6 | 7 | public class InfoMAC implements BenchmarkInfo { 8 | 9 | private AdjecencyList G; 10 | 11 | public InfoMAC(AdjecencyList G){ 12 | this.G = G; 13 | } 14 | 15 | public int getNvertices(){ 16 | return G.getNvertices(); 17 | } 18 | 19 | public int getNedges(){ 20 | return G.getNvertices(); 21 | } 22 | 23 | public Graph getGraph(){ 24 | return G; 25 | } 26 | 27 | 28 | } 29 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-isea/src/main/java/kubalik/EvoCOPQuality.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this template, choose Tools | Templates 3 | * and open the template in the editor. 4 | */ 5 | 6 | package kubalik; 7 | 8 | /** 9 | * 10 | * @author Kubalik 11 | */ 12 | public class EvoCOPQuality { 13 | public double fitness; 14 | public double solutionQuality; 15 | public long time; 16 | 17 | EvoCOPQuality(double fitness, double solutionQuality, long time){ 18 | this.fitness = fitness; 19 | this.solutionQuality = solutionQuality; 20 | this.time = time; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/ConstructiveModifier.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.heuristics.modifiers.nh.NeighbourHood; 6 | 7 | abstract public class ConstructiveModifier,P extends BenchmarkInfo,N extends NeighbourHood

> extends Modifier { 8 | 9 | @Override 10 | public 11 | boolean isApplicable(T c) { 12 | return c.isPartial(); 13 | } 14 | 15 | @Override 16 | public int interpretIOM(double iom, T c){ 17 | return 1; 18 | } 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/parsers/MyCFGParser.java: -------------------------------------------------------------------------------- 1 | package hfu.parsers; 2 | 3 | import hfu.BenchmarkInfo; 4 | import hfu.parsers.cfg.EBNF; 5 | import hfu.parsers.cfg.MyParseTree; 6 | import hfu.parsers.cfg.pep.ParseTree; 7 | 8 | public class MyCFGParser extends LLCFGParser{ 9 | 10 | @Override 11 | public EBNF getEBNF() { 12 | EBNF ebnf = new EBNF(); 13 | ebnf.addRule("[S]", "[F]"); 14 | ebnf.addRule("[S]","( [S] + [F] ) \n"); 15 | ebnf.addRule("[F]",""); 16 | return ebnf; 17 | } 18 | 19 | @Override 20 | public BenchmarkInfo interpret(MyParseTree ptree) { 21 | return null; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/evalfs/MaxProfitPerPound.java: -------------------------------------------------------------------------------- 1 | package KP.evalfs; 2 | 3 | import KP.InfoKP; 4 | import KP.SolutionKP; 5 | import hfu.heuristics.selector.eval.EvaluationFunction; 6 | 7 | public class MaxProfitPerPound implements EvaluationFunction{ 8 | 9 | @Override 10 | public void init(InfoKP instance) { 11 | // TODO Auto-generated method stub 12 | 13 | } 14 | 15 | @Override 16 | public double evaluate(SolutionKP c) { 17 | int weight = c.getPackedWeight(); 18 | double profit = c.getPackedProfit(); 19 | return weight == 0? Double.MAX_VALUE : -profit/weight; 20 | } 21 | 22 | 23 | 24 | } 25 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/QAP/heuristics/RandomInit.java: -------------------------------------------------------------------------------- 1 | package QAP.heuristics; 2 | 3 | import QAP.InfoQAP; 4 | import QAP.SolutionQAP; 5 | import hfu.RNG; 6 | import hfu.heuristics.ConstructionHeuristic; 7 | import hfu.heuristics.selector.SelectBest; 8 | import hfu.heuristics.selector.Selector; 9 | 10 | public class RandomInit extends ConstructionHeuristic{ 11 | 12 | @Override 13 | public void init(InfoQAP instance){ 14 | super.init(instance); 15 | 16 | } 17 | 18 | @Override 19 | public SolutionQAP apply() { 20 | SolutionQAP c = new SolutionQAP(instance); 21 | c.randomInit(); 22 | return c; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/200x10/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 10868 10816 2 | 10494 10422 3 | 10922 10886 4 | 10889 10794 5 | 10524 10437 6 | 10331 10255 7 | 10857 10761 8 | 10731 10663 9 | 10438 10348 10 | 10676 106168 95 52 77 60 12 74 86 9 89 24 93 71 52 88 28 53 23 48 73 42 7 87 8 95 31 68 49 82 58 92 47 83 91 7 61 49 65 65 90 59 94 97 61 63 83 54 5 10 4 12 50 21 51 90 52 37 94 77 48 25 8 75 14 11 20 58 97 29 53 53 11 97 91 42 19 86 68 24 21 7 31 57 6 90 26 4 97 4 14 22 21 22 38 64 54 15 47 88 58 53 93 4 83 39 50 36 75 35 86 36 71 43 46 48 16 91 45 31 53 8 15 10 46 37 87 25 96 21 99 67 23 16 5 50 40 5 67 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/200x20/upper_lower_bound.txt: -------------------------------------------------------------------------------- 1 | 11294 10979 2 | 11420 10947 3 | 11446 11150 4 | 11347 11127 5 | 11311 11132 6 | 11282 11085 7 | 11456 11194 8 | 11415 11126 9 | 11343 10965 10 | 11422 111228 71 22 48 26 17 25 55 74 10 60 46 53 25 70 41 51 59 99 96 1 20 46 54 88 82 11 45 45 79 79 43 41 61 60 17 87 55 28 50 8 81 65 75 70 10 16 68 18 25 3 39 55 38 27 46 91 61 15 97 40 83 97 72 28 95 42 12 6 39 53 74 89 36 13 61 83 19 9 95 79 30 88 45 90 81 45 66 73 96 4 76 43 52 54 49 92 5 18 57 39 81 6 11 54 73 34 91 86 65 41 96 1 9 59 96 96 76 3 67 21 88 92 64 18 54 65 29 10 91 34 65 58 84 10 14 56 84 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/1.txt: -------------------------------------------------------------------------------- 1 | 74 21 58 4 21 28 58 83 31 61 94 44 97 94 66 6 37 22 99 83 2 | 28 3 27 61 34 76 64 87 54 98 76 41 70 43 42 79 88 15 49 72 3 | 89 52 56 13 7 32 32 98 46 60 23 87 7 36 26 85 7 34 36 48 4 | 60 88 26 58 76 98 29 47 79 26 19 48 95 78 77 90 24 10 85 55 5 | 54 66 12 57 70 82 99 84 16 41 23 11 68 58 30 5 5 39 58 31 6 | 92 11 54 97 57 53 65 77 51 36 53 19 54 86 40 56 79 74 24 3 7 | 9 8 88 72 27 22 50 2 49 82 93 96 43 13 60 11 37 91 84 67 8 | 4 18 25 28 95 51 84 18 6 90 69 61 57 5 75 4 38 28 4 80 9 | 25 15 91 49 56 10 62 70 76 99 58 83 84 64 74 14 18 48 96 86 10 | 15 84 8 30 95 79 9 91 76 26 42 66 70 91 67 3 98 4 71 62 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/10.txt: -------------------------------------------------------------------------------- 1 | 74 26 84 41 3 46 39 90 62 63 74 4 37 75 72 30 43 95 41 97 2 | 70 92 36 70 37 36 42 34 29 80 91 56 71 14 31 75 80 73 32 56 3 | 84 20 64 44 69 63 94 86 66 97 25 90 12 62 83 32 12 38 22 92 4 | 63 61 46 6 83 49 78 84 97 56 76 9 38 21 80 47 24 95 80 65 5 | 72 91 21 70 12 67 65 90 47 82 62 3 84 30 91 5 11 41 14 28 6 | 78 58 53 17 36 3 83 91 73 81 74 2 31 37 78 74 51 41 78 26 7 | 33 70 10 45 70 2 92 50 54 64 44 4 99 43 43 11 60 53 45 63 8 | 87 20 71 95 71 99 79 19 41 74 8 55 87 87 37 52 36 6 42 30 9 | 3 86 3 89 57 27 28 88 48 26 58 6 33 3 25 61 93 69 53 47 10 | 28 36 39 63 66 44 18 67 17 84 9 33 80 27 42 60 96 81 31 88 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/2.txt: -------------------------------------------------------------------------------- 1 | 80 13 64 77 17 78 82 4 72 93 68 25 67 80 43 93 21 33 14 30 2 | 59 83 85 85 70 35 2 76 46 72 69 46 3 57 71 77 33 49 59 82 3 | 59 70 76 10 65 19 77 86 21 75 96 3 50 57 66 84 98 55 70 32 4 | 31 64 11 9 32 58 98 95 25 4 45 60 87 31 1 96 22 95 73 77 5 | 30 88 14 22 93 48 10 7 14 91 5 43 30 79 39 34 77 81 11 10 6 | 53 19 99 62 88 93 34 72 42 65 39 79 9 26 72 29 36 48 57 95 7 | 93 79 88 77 94 39 74 46 17 30 62 77 43 98 48 14 45 25 98 30 8 | 90 92 35 13 75 55 80 67 3 93 54 67 25 77 38 98 96 20 15 36 9 | 65 97 27 25 61 24 97 61 75 92 73 21 29 3 96 51 26 44 56 31 10 | 64 38 44 46 66 31 48 27 82 51 90 63 85 36 69 67 81 18 81 72 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/3.txt: -------------------------------------------------------------------------------- 1 | 49 49 15 18 65 55 1 79 10 37 77 80 79 84 93 21 85 64 46 35 2 | 3 53 59 7 65 58 24 55 26 40 89 94 51 74 54 86 22 83 19 44 3 | 60 88 15 26 11 16 55 59 81 53 92 23 55 79 13 89 2 17 97 41 4 | 12 47 46 17 43 16 91 94 73 89 12 58 25 24 55 1 67 3 1 71 5 | 75 19 60 87 27 48 72 88 48 59 74 86 49 94 15 95 41 94 15 71 6 | 31 61 47 32 34 69 32 1 1 80 19 57 98 37 31 51 66 38 62 72 7 | 70 78 41 9 47 94 26 65 17 42 59 80 7 75 63 96 7 10 47 38 8 | 20 78 38 26 64 62 11 38 68 37 74 9 65 16 38 85 50 62 39 97 9 | 88 30 34 33 21 7 94 10 73 85 82 62 99 67 61 10 4 70 31 49 10 | 9 41 22 34 83 55 3 8 75 30 57 65 89 60 90 84 74 17 2 19 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/4.txt: -------------------------------------------------------------------------------- 1 | 94 43 6 47 45 51 73 49 31 58 19 36 54 75 7 5 82 20 31 32 2 | 3 18 43 41 83 62 27 75 52 58 18 1 61 67 55 72 16 12 87 21 3 | 39 23 28 31 86 19 85 90 77 4 85 81 9 52 67 77 45 7 21 26 4 | 1 92 83 43 3 3 51 5 38 37 44 66 31 8 79 42 85 92 89 29 5 | 63 96 50 12 15 11 33 7 4 58 27 7 7 54 31 94 25 8 61 51 6 | 86 36 19 71 8 77 8 6 40 39 24 82 69 82 39 52 85 48 22 57 7 | 44 25 85 86 73 58 95 13 50 39 24 55 58 79 42 98 44 16 13 74 8 | 19 82 12 70 6 64 3 4 29 43 40 77 88 74 13 13 17 45 2 22 9 | 55 46 68 15 55 74 42 40 88 68 67 67 8 13 74 47 3 95 36 46 10 | 67 66 66 32 8 30 92 40 13 79 19 29 27 18 42 86 30 41 27 50 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/5.txt: -------------------------------------------------------------------------------- 1 | 64 96 13 9 17 19 52 1 54 86 90 26 16 39 51 4 18 35 65 5 2 | 48 6 34 22 12 78 87 24 87 10 46 16 11 73 24 16 68 14 92 93 3 | 30 94 52 49 32 61 30 6 33 33 42 87 55 13 39 20 9 57 83 2 4 | 84 24 84 16 87 22 51 27 87 87 34 99 37 14 59 13 17 33 31 18 5 | 9 1 66 57 90 61 90 60 40 38 25 15 89 5 81 16 28 58 98 90 6 | 93 44 2 87 93 23 92 51 5 32 69 92 21 77 95 17 47 1 13 73 7 | 71 34 40 57 29 78 99 88 40 40 35 57 56 65 63 48 24 40 20 21 8 | 72 65 20 67 61 69 19 63 50 68 7 93 58 31 97 89 5 98 41 81 9 | 33 95 7 34 6 34 62 97 7 18 8 39 86 58 35 12 50 44 81 89 10 | 85 47 54 31 31 83 28 70 49 27 40 37 55 59 46 25 34 84 72 32 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/6.txt: -------------------------------------------------------------------------------- 1 | 47 77 66 13 77 20 29 11 85 98 36 92 99 65 34 35 42 28 28 5 2 | 80 46 37 86 85 67 22 67 20 1 39 25 1 41 74 39 2 20 3 29 3 | 51 79 35 63 18 67 73 2 23 59 46 12 17 87 35 27 71 11 97 83 4 | 63 22 47 46 72 16 35 2 22 50 58 46 19 82 69 14 94 39 62 27 5 | 60 20 13 64 67 25 39 40 72 28 36 60 2 8 33 85 51 6 5 72 6 | 70 96 56 22 44 83 66 56 27 52 46 83 76 25 28 26 98 64 66 15 7 | 39 75 66 89 56 42 90 77 76 43 14 3 57 98 47 35 58 6 95 9 8 | 33 1 59 85 1 85 65 47 13 12 23 21 89 51 34 62 6 22 75 22 9 | 5 37 72 6 90 71 47 60 93 17 65 12 97 29 41 3 46 33 55 10 10 | 9 14 37 54 14 53 27 64 25 79 30 33 5 96 1 51 42 78 70 91 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/7.txt: -------------------------------------------------------------------------------- 1 | 64 44 58 7 69 12 5 69 46 23 95 24 58 88 46 65 31 84 4 73 2 | 43 97 49 2 54 12 31 52 29 98 46 83 78 52 63 66 45 49 21 13 3 | 9 87 3 15 55 5 8 94 60 18 20 65 50 76 75 7 82 49 3 56 4 | 38 85 29 26 23 28 19 10 72 33 21 79 55 69 38 15 58 36 11 98 5 | 2 74 16 21 10 98 74 84 55 19 20 37 90 76 10 81 27 52 21 1 6 | 79 18 99 75 47 96 6 22 3 29 12 53 42 61 49 56 9 6 54 57 7 | 16 95 26 25 71 50 38 15 85 20 25 67 7 12 50 8 82 5 9 41 8 | 85 77 74 17 38 42 20 68 93 15 28 91 32 56 70 51 9 94 63 33 9 | 89 6 41 22 68 83 79 69 44 64 77 46 76 64 25 55 30 89 96 71 10 | 69 88 24 41 53 8 58 19 50 21 43 18 74 50 20 81 98 92 21 83 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/8.txt: -------------------------------------------------------------------------------- 1 | 9 19 86 38 71 82 12 20 37 22 97 85 93 33 69 70 29 48 28 76 2 | 91 54 71 36 13 44 27 23 95 15 25 88 46 5 38 74 21 36 21 4 3 | 96 78 7 72 80 38 17 98 88 78 80 54 73 83 15 5 27 20 75 24 4 | 73 88 17 24 53 86 10 30 71 5 11 97 10 84 58 47 69 80 49 74 5 | 37 94 51 1 9 16 89 2 80 38 94 93 89 95 95 63 17 98 2 19 6 | 28 58 52 11 21 97 49 55 16 4 82 60 5 52 42 61 87 89 76 46 7 | 32 18 3 60 34 69 47 95 92 70 71 73 58 17 26 39 60 72 93 27 8 | 27 63 59 76 97 85 57 49 60 30 70 1 23 18 42 96 2 52 49 82 9 | 4 67 77 24 68 37 28 65 93 68 18 6 49 67 93 3 10 80 44 26 10 | 83 4 50 74 14 8 67 18 60 3 43 31 59 69 13 46 53 27 28 633 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x10/9.txt: -------------------------------------------------------------------------------- 1 | 39 16 84 51 19 57 33 1 23 39 27 37 37 1 82 24 28 98 74 36 2 | 9 19 71 7 23 7 65 56 37 87 43 4 92 75 86 26 17 7 80 24 3 | 72 13 49 37 89 37 58 4 13 48 4 43 18 9 81 66 82 21 60 26 4 | 93 77 20 1 60 36 85 18 97 24 60 28 94 34 61 10 4 83 91 38 5 | 8 83 29 87 77 15 26 97 44 85 22 17 47 30 10 84 13 26 16 48 6 | 75 70 16 72 85 94 49 40 64 98 46 18 47 2 77 74 77 32 65 91 7 | 16 98 85 63 10 14 82 39 23 29 30 99 34 16 34 28 69 85 50 58 8 | 98 49 46 66 63 88 41 13 43 54 69 97 10 51 95 51 92 71 98 33 9 | 65 93 14 73 97 17 91 71 59 45 45 21 98 64 50 74 77 32 70 95 10 | 21 98 61 78 6 34 53 63 3 50 29 29 20 68 84 29 75 85 98 68 11 | -------------------------------------------------------------------------------- /hyflex/src/main/java/FlowShop/Solution.java: -------------------------------------------------------------------------------- 1 | package FlowShop; 2 | 3 | class Solution implements Cloneable{ 4 | int[] permutation; 5 | double Cmax; 6 | Solution(int[] permutation, double Cmax){ 7 | this.permutation = permutation; 8 | this.Cmax = Cmax; 9 | } 10 | public Solution clone(){ 11 | int[] newPermutation = permutation.clone(); 12 | return new Solution(newPermutation, Cmax); 13 | } 14 | public String toString(){ 15 | StringBuilder builder = new StringBuilder(); 16 | builder.append("Cmax = "+this.Cmax+"\n"); 17 | for(int i = 0; i < permutation.length; i++){ 18 | builder.append(" "+permutation[i]); 19 | } 20 | return builder.toString(); 21 | } 22 | } -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/LocalSearchHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | 6 | abstract public class LocalSearchHeuristic,P extends BenchmarkInfo> extends PerturbationHeuristic { 7 | 8 | 9 | abstract public T improve(T c); 10 | 11 | @Override 12 | public boolean usesIntensityOfMutation() { 13 | return false; 14 | } 15 | 16 | 17 | @Override 18 | public T apply(T c) { 19 | //guarantee improvement 20 | T c_proposed = improve(c); 21 | return c_proposed != null && c.getFunctionValue() > c_proposed.getFunctionValue()? c_proposed : c; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/Parameters.java: -------------------------------------------------------------------------------- 1 | package hfu; 2 | 3 | public class Parameters{ 4 | double dos; 5 | double iom; 6 | 7 | void setDOS(double dos){ 8 | this.dos = dos; 9 | } 10 | 11 | void setIOM(double iom){ 12 | this.iom = iom; 13 | } 14 | 15 | public double getIOM(ParameterUsage pu) { 16 | if(pu.usesIntensityOfMutation()){ 17 | return iom; 18 | }else{ 19 | System.out.println("Illegal access IOM!"); 20 | return -1; 21 | } 22 | } 23 | 24 | public double getDOS(ParameterUsage pu) { 25 | if(pu.usesDepthOfSearch()){ 26 | return dos; 27 | }else{ 28 | System.out.println("Illegal access DOS!"); 29 | return -1; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/docs/HyFlex/CHeSCEntries/Misir/README.txt: -------------------------------------------------------------------------------- 1 | The proposed hyper-heuristic approach is available under misir.kahosl.chesc.hyperheuristic package. 2 | The corresponding java file is MisirHyperheuristic.java 3 | 4 | 5 | 6 | Team Members 7 | -------------------------------------------------------------------------- 8 | Mustafa Misir, CODeS, KAHO Sint-Lieven - K.U.Leuven Campus Kortrijk 9 | Patrick De Causmaecker, CODeS, K.U.Leuven Campus Kortrijk 10 | Greet Vanden Berghe, CODeS, KAHO Sint-Lieven - K.U.Leuven Campus Kortrijk 11 | Katja Verbeeck, CODeS, KAHO Sint-Lieven - K.U.Leuven Campus Kortrijk 12 | -------------------------------------------------------------------------- 13 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-phunter/README.md: -------------------------------------------------------------------------------- 1 | # Pearl Hunter 2 | 3 | Pearl Hunter is a hyper-heuristic selection algorithm in Java, developed for the CHeSC 2011 competition. 4 | 5 | # How to cite 6 | 7 | Xue, F., Chan, C., Ip, W., & Cheung, C. (2011). Pearl Hunter: A hyper-heuristic that compiles iterated local search algorithms. The first Cross-domain Heuristic Search Challenge (CHeSC 2011), Nottingham, UK. 8 | 9 | or 10 | 11 | Chan, C. Y., Xue, F., Ip, W. H., & Cheung, C. F. (2012). A hyper-heuristic inspired by pearl hunting. In Learning and intelligent optimization (Proceedings of the 6th International Conference on Learning and Intelligent OptimizatioN (LION 6)), pp. 349-353 , Paris, France, January 16-20, 2012. 12 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-avegnep/src/main/java/urli/Urli_AVEG_Action.java: -------------------------------------------------------------------------------- 1 | package urli; 2 | 3 | import AbstractClasses.ProblemDomain.HeuristicType; 4 | 5 | /** 6 | * Simple class to represent an action. 7 | */ 8 | public class Urli_AVEG_Action { 9 | 10 | /** 11 | * Heuristic family. 12 | */ 13 | public HeuristicType type = null; 14 | 15 | /** 16 | * Intensity of application. 17 | */ 18 | public Double intensity = 0.0; 19 | 20 | /** 21 | * Constructor. 22 | * @param type heuristic family. 23 | * @param intensity intensity of application; 24 | */ 25 | public Urli_AVEG_Action(HeuristicType type, Double intensity) { 26 | this.type = type; 27 | this.intensity = intensity; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /hyflex/src/main/java/travelingSalesmanProblem/TspSolution.java: -------------------------------------------------------------------------------- 1 | package travelingSalesmanProblem; 2 | 3 | class TspSolution implements Cloneable{ 4 | int[] permutation; 5 | double Cost; 6 | 7 | TspSolution(int[] permutation, double Cost){ 8 | this.permutation = permutation; 9 | this.Cost = Cost; 10 | } 11 | public TspSolution clone(){ 12 | int[] newPermutation = permutation.clone(); 13 | return new TspSolution(newPermutation, Cost); 14 | } 15 | public String toString(){ 16 | StringBuilder builder = new StringBuilder(); 17 | builder.append("Cost = "+this.Cost+"\n"); 18 | for(int i = 0; i < permutation.length; i++){ 19 | builder.append(" "+permutation[i]); 20 | } 21 | return builder.toString(); 22 | } 23 | } -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | image: docker:stable 2 | 3 | stages: 4 | - build 5 | - test 6 | - report 7 | 8 | variables: 9 | DOCKER_DRIVER: overlay2 10 | HYFLEX_TEST_IMAGE: hyflex:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-$CI_PIPELINE_ID 11 | 12 | build-hyflex: 13 | stage: build 14 | script: 15 | - docker build -t $HYFLEX_TEST_IMAGE -f Dockerfile . 16 | 17 | test-hyflex: 18 | stage: test 19 | script: 20 | - docker run --rm $HYFLEX_TEST_IMAGE ./gradlew clean test 21 | 22 | #report-hyflex: 23 | # stage: report 24 | # # only: 25 | # # - master 26 | # script: 27 | # - docker run --rm $HYFLEX_TEST_IMAGE ./gradlew codeCoverageReport sonarqube -Dsonar.projectKey=hyflex -Dsonar.host.url=https://sonarqube.rickq.net -Dsonar.login=$SONAR_SECRET 28 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-isea/src/main/java/kubalik/EvoCOPRandomGenerator.java: -------------------------------------------------------------------------------- 1 | package kubalik; 2 | 3 | import java.util.Random; 4 | 5 | public final class EvoCOPRandomGenerator { 6 | private static EvoCOPRandomGenerator instance = null; 7 | private Random generator = null; 8 | 9 | /** 10 | * @return the generator 11 | */ 12 | public Random getGenerator() { 13 | return generator; 14 | } 15 | 16 | private EvoCOPRandomGenerator(){ 17 | generator = new Random(); 18 | } 19 | 20 | public static synchronized EvoCOPRandomGenerator getInstance() { 21 | if(instance == null) { 22 | instance = new EvoCOPRandomGenerator(); 23 | } 24 | return instance; 25 | } 26 | 27 | public void setSeed(long seed){ 28 | generator.setSeed(seed); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-nahh/src/main/java/iridia/Shared.java: -------------------------------------------------------------------------------- 1 | package iridia; 2 | 3 | import AbstractClasses.HyperHeuristic; 4 | import AbstractClasses.ProblemDomain; 5 | import java.util.Random; 6 | 7 | /** 8 | * Some general fixed parameters which are used across the code and are not 9 | * passed through constructors. 10 | */ 11 | public class Shared { 12 | 13 | // this parameters I was sick to bring them around and passing them through 14 | // constructors 15 | public static ProblemDomain problem = null; 16 | public static MyHyperHeuristic hyperHeuristic = null; 17 | public static Random rng = null; 18 | public static AvailableHeuristics availableHeuristics = null; 19 | 20 | public Configuration conf = Configuration.getInstance(); 21 | } 22 | -------------------------------------------------------------------------------- /hyflex/src/main/java/VRP/Solution.java: -------------------------------------------------------------------------------- 1 | package VRP; 2 | import java.util.ArrayList; 3 | 4 | public class Solution 5 | { 6 | private ArrayList routes = new ArrayList(); 7 | 8 | public Solution(ArrayList rs) 9 | { 10 | setRoutes(rs); 11 | } 12 | 13 | public Solution() 14 | { 15 | } 16 | 17 | public void setRoutes(ArrayList routes) 18 | { 19 | this.routes = routes; 20 | } 21 | 22 | public ArrayList getRoutes() 23 | { 24 | return routes; 25 | } 26 | 27 | public Solution copySolution() 28 | { 29 | ArrayList newRoutes = new ArrayList(); 30 | for(Route r: routes) 31 | { 32 | newRoutes.add(r.copyRoute()); 33 | } 34 | return new Solution(newRoutes); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/QAP/heuristics/ReAssignGreedyF.java: -------------------------------------------------------------------------------- 1 | package QAP.heuristics; 2 | 3 | import QAP.InfoQAP; 4 | import QAP.SolutionQAP; 5 | import hfu.heuristics.RuinRecreateHeuristic; 6 | 7 | public class ReAssignGreedyF extends RuinRecreateHeuristic{ 8 | 9 | @Override 10 | public boolean usesDepthOfSearch() { 11 | return false; 12 | } 13 | 14 | @Override 15 | public boolean usesIntensityOfMutation() { 16 | return true; 17 | } 18 | 19 | @Override 20 | public SolutionQAP apply(SolutionQAP c) { 21 | c = ((SolutionQAP) c.deepCopy()); 22 | c.reAssignGreedyFFraction(params.getIOM(this)); 23 | return c; 24 | } 25 | 26 | @Override 27 | public void init(InfoQAP instance) { 28 | 29 | } 30 | 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/QAP/heuristics/ReAssignGreedyL.java: -------------------------------------------------------------------------------- 1 | package QAP.heuristics; 2 | 3 | import QAP.InfoQAP; 4 | import QAP.SolutionQAP; 5 | import hfu.heuristics.RuinRecreateHeuristic; 6 | 7 | public class ReAssignGreedyL extends RuinRecreateHeuristic{ 8 | 9 | @Override 10 | public boolean usesDepthOfSearch() { 11 | return false; 12 | } 13 | 14 | @Override 15 | public boolean usesIntensityOfMutation() { 16 | return true; 17 | } 18 | 19 | @Override 20 | public SolutionQAP apply(SolutionQAP c) { 21 | c = ((SolutionQAP) c.deepCopy()); 22 | c.reAssignGreedyLFraction(params.getIOM(this)); 23 | return c; 24 | } 25 | 26 | @Override 27 | public void init(InfoQAP instance) { 28 | 29 | } 30 | 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/QAP/heuristics/ReAssignRandom.java: -------------------------------------------------------------------------------- 1 | package QAP.heuristics; 2 | 3 | import QAP.InfoQAP; 4 | import QAP.SolutionQAP; 5 | import hfu.heuristics.RuinRecreateHeuristic; 6 | 7 | public class ReAssignRandom extends RuinRecreateHeuristic{ 8 | 9 | @Override 10 | public boolean usesDepthOfSearch() { 11 | return false; 12 | } 13 | 14 | @Override 15 | public boolean usesIntensityOfMutation() { 16 | return true; 17 | } 18 | 19 | @Override 20 | public SolutionQAP apply(SolutionQAP c) { 21 | c = ((SolutionQAP) c.deepCopy()); 22 | c.reAssignRandomFraction(params.getIOM(this)/2); 23 | return c; 24 | } 25 | 26 | @Override 27 | public void init(InfoQAP instance) { 28 | 29 | } 30 | 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/1.txt: -------------------------------------------------------------------------------- 1 | 75 87 13 11 41 43 93 69 80 13 24 72 38 81 83 88 26 6 89 67 70 30 89 30 68 21 78 46 99 10 17 23 83 47 86 18 67 46 4 14 4 20 88 50 84 58 93 76 50 30 2 | 26 37 25 95 49 12 59 17 46 20 52 44 92 75 95 33 10 45 2 62 62 82 29 29 94 20 42 80 94 35 8 41 65 4 71 30 14 32 50 30 27 98 39 84 65 12 58 45 49 15 3 | 48 4 92 92 72 45 5 98 93 17 79 11 16 89 81 92 45 61 39 28 94 87 23 1 55 91 67 91 4 60 38 25 90 93 13 65 25 34 47 98 91 11 46 50 77 5 14 47 80 45 4 | 26 67 4 14 93 54 21 20 6 18 75 25 16 77 28 24 15 77 36 16 32 46 21 81 28 70 89 54 96 62 46 60 19 97 13 7 44 7 73 15 66 70 97 33 97 64 73 28 4 87 5 | 77 94 9 57 29 79 55 73 65 86 25 39 76 24 38 5 91 29 22 27 39 31 46 18 93 58 85 58 97 10 79 93 2 87 17 18 10 50 8 26 14 21 15 10 85 46 42 18 36 2 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/10.txt: -------------------------------------------------------------------------------- 1 | 24 1 57 86 35 9 55 8 93 11 39 10 84 80 59 37 80 69 13 19 25 92 45 14 73 85 75 96 33 17 76 96 4 16 9 66 46 64 3 93 74 29 68 38 86 90 50 11 64 4 2 | 51 57 82 47 82 14 79 57 88 79 22 72 58 78 18 48 72 38 71 82 61 73 50 56 95 16 6 7 86 21 27 44 64 32 46 37 39 96 44 70 41 56 44 27 41 66 87 42 7 54 3 | 8 54 15 47 73 33 73 35 45 75 83 12 59 95 96 75 62 44 43 30 47 36 65 85 1 71 13 54 2 82 16 15 14 49 68 28 87 85 90 17 54 59 25 23 60 60 68 70 80 4 4 | 59 85 73 87 87 89 48 57 59 73 66 95 61 13 79 88 19 18 21 33 11 8 8 83 13 89 63 64 53 28 17 2 77 61 73 69 23 56 78 65 85 99 52 78 8 58 51 43 52 41 5 | 67 99 57 47 93 35 32 77 28 75 95 15 18 97 37 53 97 73 60 39 48 9 17 83 10 2 66 50 36 45 86 8 47 52 98 22 55 62 23 82 32 20 38 23 40 55 79 66 97 29 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/2.txt: -------------------------------------------------------------------------------- 1 | 27 69 78 90 23 6 23 28 98 57 96 85 60 34 42 73 31 11 60 57 88 38 43 30 77 85 58 58 45 72 86 83 3 14 91 27 17 13 21 82 91 11 88 99 8 6 71 53 2 2 2 | 91 9 33 97 27 17 97 96 1 30 5 78 58 20 42 97 96 75 89 66 9 59 84 93 83 58 92 82 12 89 81 20 4 93 12 75 35 58 70 9 79 29 45 27 71 89 21 78 4 17 3 | 97 49 17 54 52 74 44 8 75 19 91 94 77 80 20 48 90 30 5 20 46 72 10 97 44 85 40 68 62 76 60 65 91 63 67 26 57 22 67 70 30 57 67 29 63 77 28 73 63 20 4 | 67 72 50 12 54 69 35 26 80 13 17 10 74 63 17 11 15 30 91 89 93 62 16 49 73 58 68 15 92 31 16 56 42 32 85 2 39 39 79 86 35 30 10 42 77 69 47 83 8 27 5 | 11 73 28 12 71 20 65 56 44 79 26 43 44 28 70 64 57 53 84 45 6 77 39 94 72 93 80 35 32 59 31 86 52 7 99 20 95 21 63 73 97 49 77 83 73 94 35 89 9 29 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/3.txt: -------------------------------------------------------------------------------- 1 | 38 23 13 1 10 76 49 2 81 43 51 71 29 44 26 27 27 56 21 76 88 9 33 6 40 64 5 5 7 5 76 63 35 94 65 25 6 87 60 33 67 81 93 98 9 94 49 27 62 90 2 | 5 13 36 54 76 40 67 31 35 48 85 41 82 95 15 24 77 6 79 36 18 21 34 42 74 46 1 88 29 95 67 41 98 31 25 70 62 45 59 68 22 81 44 80 88 25 93 61 1 97 3 | 26 40 84 84 74 39 65 15 71 92 44 27 93 2 55 44 55 23 25 1 51 12 47 98 41 18 44 72 88 60 29 99 2 17 79 6 29 89 4 70 10 79 64 92 42 79 56 94 26 93 4 | 66 41 74 62 70 30 66 11 51 43 32 23 20 1 54 55 65 22 99 97 21 63 45 70 41 6 70 33 97 32 28 54 63 16 12 2 50 48 34 75 45 2 39 4 46 11 66 59 28 74 5 | 93 95 48 71 30 22 3 22 82 35 56 14 88 41 4 52 17 95 15 85 12 11 24 71 46 59 16 33 53 22 49 44 76 88 45 52 31 66 17 68 99 78 87 45 78 51 87 4 45 9 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/4.txt: -------------------------------------------------------------------------------- 1 | 37 5 8 37 71 65 13 35 52 63 58 13 69 35 9 90 57 90 55 36 84 31 50 44 38 12 57 70 92 1 72 94 96 78 30 46 60 95 82 94 62 7 51 44 31 40 29 78 57 42 2 | 77 64 66 33 47 67 61 99 54 66 57 65 24 30 95 40 85 46 46 55 39 22 41 41 40 19 56 16 48 38 25 2 99 67 94 50 26 54 67 57 18 8 81 49 96 18 50 46 22 48 3 | 91 36 63 69 83 29 33 97 1 74 74 53 74 54 21 41 92 2 83 63 87 37 64 65 40 77 1 12 54 39 24 79 47 80 40 44 58 20 50 16 99 22 33 60 87 55 70 93 52 41 4 | 91 7 40 92 47 49 87 76 49 41 29 27 14 68 9 69 94 51 64 67 47 66 27 49 92 74 59 36 79 16 43 4 3 11 13 95 64 38 32 76 66 37 28 7 2 88 92 58 24 2 5 | 5 73 99 23 83 9 89 94 84 97 99 43 71 86 51 22 2 60 17 81 6 40 32 82 63 50 74 36 56 10 24 82 90 29 99 38 7 77 50 4 11 73 16 27 98 30 51 77 54 92 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/5.txt: -------------------------------------------------------------------------------- 1 | 17 43 13 20 41 94 18 28 8 71 82 42 90 76 62 95 74 80 33 91 35 80 79 68 97 98 3 22 52 80 32 75 78 36 46 16 36 93 39 19 95 91 49 35 93 11 93 6 96 19 2 | 33 98 67 81 43 72 32 66 97 36 36 67 1 47 87 12 91 21 6 6 1 38 69 77 3 75 64 53 18 10 97 18 48 70 60 75 94 14 53 90 19 42 86 15 58 7 65 40 51 61 3 | 98 90 4 39 79 76 53 77 10 2 97 31 62 28 74 60 53 74 88 11 88 92 7 80 67 27 21 43 59 30 17 4 7 21 83 44 70 30 39 35 8 6 92 39 55 34 98 47 99 16 4 | 90 93 35 65 66 10 48 81 27 49 61 73 60 88 42 62 28 55 58 55 90 61 73 3 74 94 30 81 9 87 58 42 59 48 29 83 60 83 76 43 90 14 84 10 15 38 90 80 19 15 5 | 75 68 39 71 31 43 5 32 6 56 56 72 23 95 50 53 27 8 18 81 57 54 99 20 10 19 18 53 73 10 74 93 22 75 84 9 27 32 51 83 70 13 1 81 13 98 58 28 3 21 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/6.txt: -------------------------------------------------------------------------------- 1 | 12 72 29 16 22 61 69 71 86 16 54 53 64 96 79 68 98 87 40 74 22 23 47 55 21 90 68 14 42 41 40 63 23 75 4 31 87 25 47 70 1 49 59 11 93 38 5 43 82 33 2 | 26 89 86 10 16 72 96 47 9 56 8 69 87 84 62 52 82 66 67 33 3 53 95 42 59 77 38 12 1 66 24 17 58 71 88 63 60 86 8 8 44 99 80 76 94 75 63 57 76 34 3 | 27 97 53 16 36 28 50 41 42 86 2 45 86 43 92 73 99 84 83 61 7 8 62 3 21 50 71 95 70 60 4 58 16 30 80 71 59 75 52 25 86 48 53 54 98 36 9 78 80 88 4 | 52 30 62 8 45 77 90 52 39 95 86 15 98 59 22 43 85 93 6 46 51 97 79 46 71 18 33 13 3 32 28 48 8 42 26 26 95 44 74 82 28 4 42 81 56 38 50 12 43 51 5 | 24 57 68 58 76 70 72 56 56 55 89 23 42 26 87 17 38 24 82 55 47 7 99 89 20 65 3 45 89 96 16 42 70 69 77 46 20 71 91 8 34 72 40 82 60 59 59 43 72 10 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/7.txt: -------------------------------------------------------------------------------- 1 | 82 73 84 63 14 73 84 9 38 67 76 18 70 69 4 58 66 11 1 51 38 16 81 39 56 83 27 29 93 70 64 22 84 25 73 81 10 46 32 38 68 40 33 79 64 36 62 82 44 99 2 | 6 49 84 72 39 51 77 59 97 5 83 51 9 9 59 30 86 49 46 13 45 51 68 82 6 99 12 8 36 24 82 73 66 69 71 70 61 42 77 10 2 6 24 97 15 91 32 68 17 1 3 | 49 25 46 37 56 50 9 62 10 89 66 98 10 70 92 36 82 54 34 34 5 12 3 56 44 41 14 25 78 25 89 83 78 23 51 7 20 30 30 30 63 82 40 39 37 44 2 27 71 45 4 | 57 88 88 43 25 81 3 3 78 97 74 71 50 70 23 43 51 97 57 77 90 58 75 4 12 2 4 28 54 39 30 71 89 33 85 2 69 20 64 94 3 41 37 36 74 53 49 77 13 37 5 | 34 31 15 32 45 50 81 46 93 13 47 50 70 21 41 12 18 28 22 60 69 49 38 80 52 45 34 3 61 96 99 49 78 34 78 79 64 55 63 24 58 25 93 73 45 93 37 64 92 59 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/8.txt: -------------------------------------------------------------------------------- 1 | 9 19 86 38 71 82 12 20 37 22 97 85 93 33 69 70 29 48 28 76 91 54 71 36 13 44 27 23 95 15 25 88 46 5 38 74 21 36 21 4 96 78 7 72 80 38 17 98 88 78 2 | 80 54 73 83 15 5 27 20 75 24 73 88 17 24 53 86 10 30 71 5 11 97 10 84 58 47 69 80 49 74 37 94 51 1 9 16 89 2 80 38 94 93 89 95 95 63 17 98 2 19 3 | 28 58 52 11 21 97 49 55 16 4 82 60 5 52 42 61 87 89 76 46 32 18 3 60 34 69 47 95 92 70 71 73 58 17 26 39 60 72 93 27 27 63 59 76 97 85 57 49 60 30 4 | 70 1 23 18 42 96 2 52 49 82 4 67 77 24 68 37 28 65 93 68 18 6 49 67 93 3 10 80 44 26 83 4 50 74 14 8 67 18 60 3 43 31 59 69 13 46 53 27 28 63 5 | 55 39 86 40 92 2 65 91 67 92 55 40 1 81 2 78 25 27 46 61 46 59 16 41 65 75 69 68 68 23 30 29 37 64 44 69 36 9 45 8 50 10 46 83 91 79 39 83 36 28 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x5/9.txt: -------------------------------------------------------------------------------- 1 | 34 40 22 6 50 64 48 74 67 22 26 13 24 54 22 9 28 48 83 85 79 78 40 15 95 75 73 41 52 71 84 73 25 41 74 15 58 55 47 12 36 48 96 47 64 5 24 78 59 4 2 | 24 85 19 94 59 65 42 8 10 15 96 63 30 20 31 94 35 84 83 53 57 25 71 22 31 35 40 76 14 48 42 11 92 68 55 88 52 36 62 42 51 68 10 38 29 56 23 71 45 98 3 | 20 61 69 28 69 35 17 59 16 54 6 18 2 4 80 45 2 18 83 21 41 51 85 56 88 40 20 16 22 98 56 69 90 9 81 65 38 75 60 81 59 94 3 19 15 29 94 48 39 3 4 | 65 39 68 40 82 31 29 17 69 44 19 29 60 27 93 35 17 1 99 96 1 62 84 42 60 42 66 1 1 31 41 62 83 74 38 56 57 54 45 39 85 40 21 84 17 24 65 98 90 46 5 | 47 62 11 6 21 60 82 2 31 27 81 34 7 6 53 19 28 63 29 34 96 39 19 45 64 72 26 59 51 74 3 11 96 50 23 43 36 52 9 44 32 2 78 83 69 47 17 35 45 30 -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/Modifier.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.heuristics.modifiers.nh.NeighbourHood; 6 | 7 | abstract public class Modifier, P extends BenchmarkInfo,N extends NeighbourHood

> { 8 | 9 | protected P instance; 10 | 11 | //boolean isSymmetric(); 12 | public void init(P instance){ 13 | this.instance = instance; 14 | } 15 | abstract public boolean isApplicable(T c); 16 | abstract public N getNeightbourhood(T c); 17 | abstract public T apply(T c, int... param); 18 | abstract public int interpretIOM(double iom, T c); 19 | 20 | public int interpretDOS(double dos, T c) { 21 | return (int) Math.ceil(5*dos); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/QAP/heuristics/OrderedXO.java: -------------------------------------------------------------------------------- 1 | package QAP.heuristics; 2 | 3 | import QAP.InfoQAP; 4 | import QAP.SolutionQAP; 5 | import hfu.RNG; 6 | import hfu.heuristics.CrossoverHeuristic; 7 | 8 | public class OrderedXO extends CrossoverHeuristic{ 9 | 10 | 11 | @Override 12 | public boolean usesDepthOfSearch() { 13 | return false; 14 | } 15 | 16 | @Override 17 | public boolean usesIntensityOfMutation() { 18 | return false; 19 | } 20 | 21 | @Override 22 | public SolutionQAP apply(SolutionQAP c1, SolutionQAP c2) { 23 | SolutionQAP c_res = (SolutionQAP) c1.deepCopy(); 24 | c_res.ox(c2); 25 | return c_res; 26 | } 27 | 28 | @Override 29 | public void init(InfoQAP instance) { 30 | // TODO Auto-generated method stub 31 | 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/nh/IteratorNH.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers.nh; 2 | 3 | import java.util.Iterator; 4 | 5 | abstract public class IteratorNH implements Iterator{ 6 | 7 | @Override 8 | public void remove() { 9 | //NOT SUPPORTED 10 | } 11 | 12 | public static IteratorNH fromIterator(Iterator it){ 13 | return new SimpleIterator(it); 14 | } 15 | 16 | static class SimpleIterator extends IteratorNH{ 17 | Iterator it; 18 | 19 | SimpleIterator(Iterator it){ 20 | this.it = it; 21 | } 22 | 23 | @Override 24 | public boolean hasNext() { 25 | return it.hasNext(); 26 | } 27 | 28 | @Override 29 | public int[] next() { 30 | return new int[]{it.next()}; 31 | } 32 | 33 | 34 | } 35 | 36 | 37 | } 38 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/QAP/heuristics/PartiallyMatchedXO.java: -------------------------------------------------------------------------------- 1 | package QAP.heuristics; 2 | 3 | import QAP.InfoQAP; 4 | import QAP.SolutionQAP; 5 | import hfu.RNG; 6 | import hfu.heuristics.CrossoverHeuristic; 7 | 8 | public class PartiallyMatchedXO extends CrossoverHeuristic{ 9 | 10 | 11 | @Override 12 | public boolean usesDepthOfSearch() { 13 | return false; 14 | } 15 | 16 | @Override 17 | public boolean usesIntensityOfMutation() { 18 | return false; 19 | } 20 | 21 | @Override 22 | public SolutionQAP apply(SolutionQAP c1, SolutionQAP c2) { 23 | SolutionQAP c_res = (SolutionQAP) c1.deepCopy(); 24 | c_res.pmx(c2); 25 | return c_res; 26 | } 27 | 28 | @Override 29 | public void init(InfoQAP instance) { 30 | // TODO Auto-generated method stub 31 | 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /hyflex/src/main/java/BinPacking/Piece.java: -------------------------------------------------------------------------------- 1 | package BinPacking; 2 | 3 | class Piece implements Comparable { 4 | 5 | private double size = 0.0; 6 | private int number; 7 | public Piece(double s, int n) { 8 | size = s; 9 | number = n; 10 | } 11 | public boolean equals(Object piece) { 12 | Piece p = (Piece)piece; 13 | if (p.number == this.number) { return true; } else { return false; } 14 | } 15 | double getSize() { 16 | return this.size; 17 | } 18 | double getNumber() { 19 | return this.number; 20 | } 21 | public Piece clone() { 22 | return new Piece(this.size, this.number); 23 | } 24 | public int compareTo(Piece p) { 25 | int ret = 0; 26 | if (this.size > p.size) { 27 | ret = -1; 28 | } 29 | if (this.size < p.size) { 30 | ret = 1; 31 | } 32 | return ret; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-nahh/src/main/java/iridia/MyHyperHeuristic.java: -------------------------------------------------------------------------------- 1 | package iridia; 2 | 3 | import AbstractClasses.HyperHeuristic; 4 | import AbstractClasses.ProblemDomain; 5 | 6 | /** 7 | * HyperHeuristic class just to override hasTimeExpired and make it public. 8 | */ 9 | public class MyHyperHeuristic extends HyperHeuristic { 10 | 11 | public MyHyperHeuristic(long seed) { 12 | super(seed); 13 | } 14 | 15 | @Override 16 | public boolean hasTimeExpired() { 17 | return super.hasTimeExpired(); 18 | } 19 | 20 | @Override 21 | protected void solve(ProblemDomain pd) { 22 | throw new UnsupportedOperationException("Not supported yet."); 23 | } 24 | 25 | @Override 26 | public String toString() { 27 | throw new UnsupportedOperationException("Not supported yet."); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/heuristics/MultiParentCrossover.java: -------------------------------------------------------------------------------- 1 | package MAC.heuristics; 2 | 3 | import MAC.InfoMAC; 4 | import MAC.SolutionMAC; 5 | import hfu.RNG; 6 | import hfu.heuristics.CrossoverHeuristic; 7 | 8 | public class MultiParentCrossover extends CrossoverHeuristic{ 9 | 10 | InfoMAC instance; 11 | 12 | @Override 13 | public boolean usesDepthOfSearch() { 14 | return false; 15 | } 16 | 17 | @Override 18 | public boolean usesIntensityOfMutation() { 19 | return false; 20 | } 21 | 22 | @Override 23 | public SolutionMAC apply(SolutionMAC c1, SolutionMAC c2) { 24 | SolutionMAC c_res = (SolutionMAC) c1.deepCopy(); 25 | c_res.mp_crossover(c2); 26 | return c_res; 27 | } 28 | 29 | @Override 30 | public void init(InfoMAC instance) { 31 | this.instance = instance; 32 | } 33 | 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/heuristics/IntersectCrossover.java: -------------------------------------------------------------------------------- 1 | package KP.heuristics; 2 | 3 | import KP.InfoKP; 4 | import KP.SolutionKP; 5 | import hfu.heuristics.CrossoverHeuristic; 6 | 7 | public class IntersectCrossover extends CrossoverHeuristic{ 8 | 9 | @Override 10 | public void init(InfoKP instance) { 11 | 12 | } 13 | 14 | @Override 15 | public boolean usesDepthOfSearch() { 16 | return false; 17 | } 18 | 19 | @Override 20 | public boolean usesIntensityOfMutation() { 21 | return false; 22 | } 23 | 24 | @Override 25 | public SolutionKP apply(SolutionKP c1, SolutionKP c2) { 26 | //System.out.println("c1:"+c1.toText()); 27 | //System.out.println("c2:"+c2.toText()); 28 | SolutionKP c_res = ((SolutionKP) c1.deepCopy()); 29 | c_res.intersect(c2); 30 | //System.out.println("c_res:"+c_res.toText()); 31 | return c_res; 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/heuristics/OnePointCrossover.java: -------------------------------------------------------------------------------- 1 | package MAC.heuristics; 2 | 3 | import MAC.InfoMAC; 4 | import MAC.SolutionMAC; 5 | import hfu.RNG; 6 | import hfu.heuristics.CrossoverHeuristic; 7 | 8 | public class OnePointCrossover extends CrossoverHeuristic{ 9 | 10 | InfoMAC instance; 11 | 12 | @Override 13 | public boolean usesDepthOfSearch() { 14 | return false; 15 | } 16 | 17 | @Override 18 | public boolean usesIntensityOfMutation() { 19 | return false; 20 | } 21 | 22 | @Override 23 | public SolutionMAC apply(SolutionMAC c1, SolutionMAC c2) { 24 | SolutionMAC c_res = (SolutionMAC) c1.deepCopy(); 25 | c_res.one_point_crossover(RNG.get().nextInt(instance.getNvertices()), c2); 26 | return c_res; 27 | } 28 | 29 | @Override 30 | public void init(InfoMAC instance) { 31 | this.instance = instance; 32 | } 33 | 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/selector/Selector.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.selector; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.ParameterUsage; 6 | import hfu.Parameters; 7 | import hfu.heuristics.modifiers.Modifier; 8 | import hfu.heuristics.modifiers.nh.NeighbourHood; 9 | 10 | abstract public class Selector, P extends BenchmarkInfo, N extends NeighbourHood

> implements ParameterUsage { 11 | 12 | protected Parameters params; 13 | 14 | public void init(P instance, Parameters params){ 15 | this.params = params; 16 | init(instance); 17 | } 18 | 19 | abstract void init(P instance); 20 | 21 | abstract public Proposal select(T c, Modifier modifier, int max); 22 | 23 | public T select(T c, Modifier modifier){ 24 | return select(c,modifier,Integer.MAX_VALUE).c_proposed; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /hyflex-chesc-2011/src/test/resources/hyflex/hyflex-chesc-2011/test-result-card.json: -------------------------------------------------------------------------------- 1 | {"results": [ 2 | { 3 | "scorePerInstance": { 4 | "a1-p2": { 5 | "a1-p2-i2": 0.5, 6 | "a1-p2-i1": 0.5 7 | }, 8 | "a1-p1": { 9 | "a1-p1-i2": 0.5, 10 | "a1-p1-i1": 0.5 11 | } 12 | }, 13 | "algorithmName": "a1", 14 | "totalScore": 0.5, 15 | "scorePerProblem": { 16 | "a1-p2": 0.2, 17 | "a1-p1": 0.5 18 | } 19 | }, 20 | { 21 | "scorePerInstance": { 22 | "a2-p2": { 23 | "a2-p2-i1": 0.5, 24 | "a2-p2-i2": 0.5 25 | }, 26 | "a2-p1": { 27 | "a2-p1-i1": 0.5, 28 | "a2-p1-i2": 0.5 29 | } 30 | }, 31 | "algorithmName": "a2", 32 | "totalScore": 0.6, 33 | "scorePerProblem": { 34 | "a2-p2": 0.2, 35 | "a2-p1": 0.5 36 | } 37 | } 38 | ]} -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/modifiers/Swap.java: -------------------------------------------------------------------------------- 1 | package MAC.modifiers; 2 | 3 | import MAC.InfoMAC; 4 | import MAC.SolutionMAC; 5 | import MAC.SolutionMAC.InsertNH; 6 | import MAC.SolutionMAC.SwapNH; 7 | import hfu.heuristics.modifiers.PerturbativeModifier; 8 | 9 | public class Swap extends PerturbativeModifier{ 10 | 11 | public Swap(){ 12 | 13 | } 14 | 15 | @Override 16 | public SwapNH getNeightbourhood(SolutionMAC c) { 17 | return new SwapNH(instance); 18 | } 19 | 20 | @Override 21 | public SolutionMAC apply(SolutionMAC c, int... param) { 22 | //System.out.println(c.toText()); 23 | //System.out.println("swap "+ (param[0]+1)); 24 | c.swap(param[0]); 25 | //System.out.println(c.toText()); 26 | return c; 27 | } 28 | 29 | @Override 30 | public int interpretIOM(double iom, SolutionMAC c) { 31 | return Math.max((int) Math.ceil(iom*10),1); // 0.2 = 2 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a050.txt: -------------------------------------------------------------------------------- 1 | 2 1 3 1 6 5 5 2 9 7 8 9 4 2 5 7 1 1 7 7 2 | 4 4 6 2 7 3 2 5 2 9 5 6 9 3 4 3 4 2 3 9 3 | 4 4 6 5 5 4 5 4 4 5 6 4 6 4 6 4 4 5 4 5 4 | 3 3 5 4 7 5 8 6 3 3 3 5 4 5 8 1 5 9 7 6 5 | 2 8 3 6 2 4 4 2 8 6 6 5 3 8 3 6 8 7 4 4 6 | 6 6 4 4 4 5 5 4 6 4 4 6 4 6 4 4 5 4 5 5 7 | 8 7 4 4 4 4 8 3 4 7 4 3 5 3 6 3 2 8 7 3 8 | 3 3 6 7 5 3 7 3 7 5 3 6 6 4 7 5 4 4 3 7 9 | 4 5 2 5 6 8 8 2 2 4 7 2 3 2 7 4 8 6 8 8 10 | 9 6 8 5 8 2 6 2 7 5 9 7 6 2 2 6 3 9 9 3 11 | 4 6 6 6 5 6 4 4 5 4 5 4 5 6 5 6 4 6 5 6 12 | 5 4 5 6 6 5 4 5 6 4 6 6 4 5 5 4 5 6 5 6 13 | 2 5 3 9 9 6 6 6 9 2 5 8 1 4 7 1 5 3 4 9 14 | 2 6 4 1 3 9 6 3 8 8 6 3 9 7 3 5 7 2 7 4 15 | 6 6 5 4 5 5 6 5 5 5 4 4 4 5 5 5 4 6 5 4 16 | 5 6 1 10 6 4 8 3 5 6 8 9 5 6 7 10 9 7 1 3 17 | 8 3 9 8 3 4 6 9 6 8 3 6 3 3 3 8 6 8 6 7 18 | 9 3 5 2 5 1 6 1 1 3 6 7 2 1 1 7 7 3 3 7 19 | 5 4 5 6 6 6 5 6 4 6 4 6 5 5 4 4 4 5 6 5 20 | 3 6 1 2 1 7 4 4 2 1 6 9 2 3 5 2 5 10 5 5 -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/modifiers/Insert.java: -------------------------------------------------------------------------------- 1 | package KP.modifiers; 2 | 3 | import KP.InfoKP; 4 | import KP.SolutionKP; 5 | import KP.SolutionKP.UnpackedNH; 6 | import hfu.heuristics.modifiers.PerturbativeModifier; 7 | 8 | 9 | public class Insert extends PerturbativeModifier{ 10 | 11 | @Override 12 | public UnpackedNH getNeightbourhood(SolutionKP c) { 13 | return new UnpackedNH(instance,c); 14 | } 15 | 16 | @Override 17 | public SolutionKP apply(SolutionKP c, int... param) { 18 | //System.out.println(c.toText()); 19 | //System.out.println("insert "+ (param[0]+1)); 20 | c.insert(param[0]); 21 | //System.out.println(c.toText()); 22 | return c; 23 | } 24 | 25 | @Override 26 | public int interpretIOM(double iom, SolutionKP c) { 27 | return (int) Math.ceil(5*iom); 28 | } 29 | 30 | @Override 31 | public int interpretDOS(double dos, SolutionKP c) { 32 | return 1; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/modifiers/Remove.java: -------------------------------------------------------------------------------- 1 | package MAC.modifiers; 2 | 3 | import MAC.InfoMAC; 4 | import MAC.SolutionMAC; 5 | import MAC.SolutionMAC.InsertNH; 6 | import MAC.SolutionMAC.RemoveNH; 7 | import hfu.heuristics.modifiers.ConstructiveModifier; 8 | import hfu.heuristics.modifiers.DestructiveModifier; 9 | 10 | public class Remove extends DestructiveModifier{ 11 | 12 | @Override 13 | public RemoveNH getNeightbourhood(SolutionMAC c) { 14 | return new RemoveNH(instance,c); 15 | } 16 | 17 | @Override 18 | public SolutionMAC apply(SolutionMAC c, int... param) { 19 | //System.out.println(c.toText()); 20 | //System.out.println("remove "+ (param[0]+1)); 21 | c.remove(param[0]); 22 | //System.out.println(c.toText()); 23 | return c; 24 | } 25 | 26 | @Override 27 | public int interpretIOM(double iom, SolutionMAC c) { 28 | return Math.max((int) Math.ceil(iom*50),1); // 0.2 = 10 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/parsers/LLCFGParser.java: -------------------------------------------------------------------------------- 1 | package hfu.parsers; 2 | 3 | import hfu.BenchmarkInfo; 4 | import hfu.parsers.cfg.EBNF; 5 | import hfu.parsers.cfg.MyParseTree; 6 | import hfu.parsers.cfg.MyTokenizer; 7 | import hfu.parsers.cfg.pep.Category; 8 | import hfu.parsers.cfg.pep.LLParser; 9 | import hfu.parsers.cfg.pep.LLParser.ParseTree; 10 | 11 | 12 | abstract public class LLCFGParser

implements CFGParser

{ 13 | 14 | public P parse(String file) { 15 | //get EBNF description of the file to parse 16 | EBNF ebnf = getEBNF(); 17 | //create a token stream for the input file 18 | MyTokenizer tokenizer = new MyTokenizer(file); 19 | //actual parsing using the LL Parser (Own implementation, supported by PEP library)... 20 | LLParser parser = new LLParser(ebnf.getGrammar()); 21 | ParseTree tree = parser.parse(tokenizer, new Category("S")); 22 | return interpret(MyParseTree.produce(tree)); 23 | } 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/modifiers/RemoveRadial.java: -------------------------------------------------------------------------------- 1 | package MAC.modifiers; 2 | 3 | import MAC.InfoMAC; 4 | import MAC.SolutionMAC; 5 | import MAC.SolutionMAC.InsertNH; 6 | import MAC.SolutionMAC.RemoveNH; 7 | import hfu.heuristics.modifiers.ConstructiveModifier; 8 | import hfu.heuristics.modifiers.DestructiveModifier; 9 | 10 | public class RemoveRadial extends DestructiveModifier{ 11 | 12 | @Override 13 | public RemoveNH getNeightbourhood(SolutionMAC c) { 14 | return new RemoveNH(instance,c); 15 | } 16 | 17 | @Override 18 | public SolutionMAC apply(SolutionMAC c, int... param) { 19 | //System.out.println(c.toText()); 20 | //System.out.println("remove "+ (param[0]+1)+" and neighbors"); 21 | c.removeRadial(param[0]); 22 | //System.out.println(c.toText()); 23 | return c; 24 | } 25 | 26 | @Override 27 | public int interpretIOM(double iom, SolutionMAC c) { 28 | return Math.max((int) Math.ceil(iom*5),1); // 0.2 = 1 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/modifiers/SwapNeighbours.java: -------------------------------------------------------------------------------- 1 | package MAC.modifiers; 2 | 3 | import MAC.InfoMAC; 4 | import MAC.SolutionMAC; 5 | import MAC.modifiers.nhs.SwapNeighboursNH; 6 | import hfu.heuristics.modifiers.PerturbativeModifier; 7 | 8 | public class SwapNeighbours extends PerturbativeModifier{ 9 | 10 | public SwapNeighbours(){ 11 | 12 | } 13 | 14 | @Override 15 | public SwapNeighboursNH getNeightbourhood(SolutionMAC c) { 16 | return new SwapNeighboursNH(instance); 17 | } 18 | 19 | @Override 20 | public SolutionMAC apply(SolutionMAC c, int... param) { 21 | //System.out.println(c.toText()); 22 | //System.out.println("swap "+ (param[0]+1)+" & "+ (param[1]+1)); 23 | c.swapNeighbours(param[0],param[1]); 24 | //System.out.println(c.toText()); 25 | return c; 26 | } 27 | 28 | @Override 29 | public int interpretIOM(double iom, SolutionMAC c) { 30 | return Math.max((int) Math.ceil(iom*5),1); // 0.2 = 1 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/QAP/Swap.java: -------------------------------------------------------------------------------- 1 | package QAP; 2 | 3 | import QAP.SolutionQAP.SwapNH; 4 | import hfu.heuristics.modifiers.PerturbativeModifier; 5 | 6 | public class Swap extends PerturbativeModifier{ 7 | 8 | public Swap(){ 9 | 10 | } 11 | 12 | @Override 13 | public SwapNH getNeightbourhood(SolutionQAP c) { 14 | return new SwapNH(instance); 15 | } 16 | 17 | @Override 18 | public SolutionQAP apply(SolutionQAP c, int... param) { 19 | c.swap(param[0],param[1]); 20 | return c; 21 | } 22 | 23 | @Override 24 | public int interpretIOM(double iom, SolutionQAP c) { 25 | return Math.max((int) Math.ceil(iom*5),1); // 0.2 = 2 26 | } 27 | 28 | public int interpretDOS(double dos, SolutionQAP c) { 29 | int threshold = 1000000000; 30 | int n = instance.getN(); 31 | int swaps = n*(n-1)/2; 32 | int k = 1; 33 | while(Math.pow(swaps, k) < threshold){ 34 | k++; 35 | } 36 | k -= 1; 37 | return Math.max(1, k); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /maven-repo/org/seage/seage-misc/1.0.0-SNAPSHOT/maven-metadata-local.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.seage 4 | seage-misc 5 | 1.0.0-SNAPSHOT 6 | 7 | 8 | true 9 | 10 | 20220724165128 11 | 12 | 13 | jar 14 | 1.0.0-SNAPSHOT 15 | 20220724165128 16 | 17 | 18 | pom 19 | 1.0.0-SNAPSHOT 20 | 20220724165128 21 | 22 | 23 | module 24 | 1.0.0-SNAPSHOT 25 | 20220724165128 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/InfoKP.java: -------------------------------------------------------------------------------- 1 | package KP; 2 | 3 | import hfu.BenchmarkInfo; 4 | 5 | public class InfoKP implements BenchmarkInfo { 6 | int capacity; 7 | int[] profits; 8 | int[] weights; 9 | long total_profit = -1; 10 | 11 | public InfoKP(int capacity, int[] profits, int[] weights){ 12 | this.capacity = capacity; 13 | this.profits = profits; 14 | this.weights = weights; 15 | } 16 | 17 | public int getWeight(int i){ 18 | return weights[i]; 19 | } 20 | 21 | public int getProfit(int i){ 22 | return profits[i]; 23 | } 24 | 25 | public int getPPW(int i){ 26 | return profits[i]/weights[i]; 27 | } 28 | 29 | public int getNitems(){ 30 | return profits.length; 31 | } 32 | 33 | public long getTotalProfit(){ 34 | if(total_profit == -1){ 35 | total_profit = 0; 36 | for(int i = 0; i < profits.length;i++){ 37 | total_profit += profits[i]; 38 | } 39 | } 40 | return total_profit; 41 | } 42 | 43 | public int getCapacity(){ 44 | return capacity; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/modifiers/Insert.java: -------------------------------------------------------------------------------- 1 | package MAC.modifiers; 2 | 3 | import MAC.InfoMAC; 4 | import MAC.SolutionMAC; 5 | import MAC.SolutionMAC.InsertNH; 6 | import hfu.heuristics.modifiers.ConstructiveModifier; 7 | 8 | public class Insert extends ConstructiveModifier{ 9 | int v; 10 | 11 | public Insert(){ 12 | v = -1; 13 | } 14 | 15 | public Insert(int v){ 16 | this.v = v; 17 | } 18 | 19 | @Override 20 | public InsertNH getNeightbourhood(SolutionMAC c) { 21 | return v == -1? new InsertNH(instance,c) : new InsertNH(instance,c,v) ; 22 | } 23 | 24 | @Override 25 | public SolutionMAC apply(SolutionMAC c, int... param) { 26 | //System.out.println(c.toText()); 27 | //System.out.println("insert "+ (param[0]+1)+ " in partition "+param[1]); 28 | c.insert(param[0],param[1]); 29 | //System.out.println(c.toText()); 30 | return c; 31 | } 32 | 33 | @Override 34 | public int interpretDOS(double dos, SolutionMAC c) { 35 | return (int) Math.ceil(5*dos); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/binpacking/waescher/waescherhard2.txt: -------------------------------------------------------------------------------- 1 | waescher 2 | ins 1 3 | 10000 96 4 | 4990 5 | 4990 6 | 4919 7 | 4919 8 | 4919 9 | 4640 10 | 4640 11 | 4300 12 | 4300 13 | 4300 14 | 4283 15 | 4283 16 | 4225 17 | 4225 18 | 4225 19 | 4108 20 | 4108 21 | 4108 22 | 4108 23 | 4097 24 | 4097 25 | 4071 26 | 4071 27 | 4071 28 | 4071 29 | 3971 30 | 3971 31 | 3898 32 | 3875 33 | 3875 34 | 3875 35 | 3875 36 | 3875 37 | 3853 38 | 3833 39 | 3747 40 | 3747 41 | 3701 42 | 3701 43 | 3660 44 | 3660 45 | 3388 46 | 3019 47 | 2927 48 | 2927 49 | 2832 50 | 2823 51 | 2823 52 | 2696 53 | 2408 54 | 2408 55 | 1585 56 | 1546 57 | 1546 58 | 1222 59 | 1222 60 | 1222 61 | 1194 62 | 1096 63 | 1096 64 | 1096 65 | 1049 66 | 958 67 | 876 68 | 865 69 | 835 70 | 835 71 | 676 72 | 676 73 | 636 74 | 613 75 | 613 76 | 613 77 | 583 78 | 583 79 | 583 80 | 527 81 | 527 82 | 515 83 | 515 84 | 515 85 | 506 86 | 484 87 | 484 88 | 484 89 | 484 90 | 484 91 | 478 92 | 425 93 | 294 94 | 186 95 | 186 96 | 186 97 | 186 98 | 186 99 | 64 100 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/modifiers/Swap.java: -------------------------------------------------------------------------------- 1 | package KP.modifiers; 2 | 3 | import KP.InfoKP; 4 | import KP.SolutionKP; 5 | import KP.SolutionKP.SwapNH; 6 | import hfu.heuristics.modifiers.PerturbativeModifier; 7 | 8 | public class Swap extends PerturbativeModifier{ 9 | 10 | @Override 11 | public SwapNH getNeightbourhood(SolutionKP c) { 12 | return new SwapNH(instance,c); 13 | } 14 | 15 | @Override 16 | public SolutionKP apply(SolutionKP c, int... param) { 17 | //System.out.println(c.toText()); 18 | //System.out.println("substitute " + (param[0]+1) + " by " + (param[1]+1)); 19 | c.swap(param[0],param[1]); 20 | //System.out.println(c.toText()); 21 | return c; 22 | } 23 | 24 | @Override 25 | public int interpretIOM(double iom, SolutionKP c) { 26 | return (int) Math.ceil(5*iom); 27 | } 28 | 29 | @Override 30 | public int interpretDOS(double dos, SolutionKP c) { 31 | return 1; 32 | } 33 | 34 | @Override 35 | public boolean isApplicable(SolutionKP c) { 36 | return super.isApplicable(c) && c.getPacked() > 0; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/modifiers/Remove.java: -------------------------------------------------------------------------------- 1 | package KP.modifiers; 2 | 3 | import KP.InfoKP; 4 | import KP.SolutionKP; 5 | import KP.SolutionKP.KnapSackNH; 6 | import hfu.heuristics.modifiers.PerturbativeModifier; 7 | 8 | public class Remove extends PerturbativeModifier{ 9 | 10 | @Override 11 | public KnapSackNH getNeightbourhood(SolutionKP c) { 12 | return new KnapSackNH(instance,c); 13 | } 14 | 15 | @Override 16 | public SolutionKP apply(SolutionKP c, int... param) { 17 | // System.out.println(c.toText()); 18 | // System.out.println("remove "+(param[0]+1)); 19 | c.remove(param[0]); 20 | //System.out.println(c.toText()); 21 | return c; 22 | } 23 | 24 | @Override 25 | public int interpretIOM(double iom, SolutionKP c) { 26 | return (int) Math.max(Math.ceil(iom*c.getPacked()),1); 27 | } 28 | 29 | @Override 30 | public int interpretDOS(double dos, SolutionKP c) { 31 | return 1; 32 | } 33 | 34 | @Override 35 | public boolean isApplicable(SolutionKP c) { 36 | return super.isApplicable(c) && c.getPacked() > 0; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/src/main/java/be/kuleuven/kahosl/acceptance/DutyType.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012 Mustafa MISIR, KU Leuven - KAHO Sint-Lieven, Belgium 3 | 4 | This file is part of GIHH v1.0. 5 | 6 | GIHH is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . 18 | 19 | */ 20 | 21 | package be.kuleuven.kahosl.acceptance; 22 | 23 | import java.io.Serializable; 24 | 25 | public enum DutyType implements Serializable { 26 | 27 | ImprovingMove, 28 | WorseningMove, 29 | } 30 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/modifiers/nh/FilteredIterator.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.modifiers.nh; 2 | 3 | import hfu.heuristics.modifiers.nh.filter.Filter; 4 | 5 | public class FilteredIterator extends IteratorNH{ 6 | 7 | IteratorNH it; 8 | Filter filter; 9 | int[] current; 10 | boolean done; 11 | 12 | public FilteredIterator(IteratorNH it, Filter filter){ 13 | this.it = it; 14 | this.filter = filter; 15 | done = true; 16 | while(it.hasNext()){ 17 | current = it.next(); 18 | if(filter.include(current)){ 19 | done = false; 20 | break; 21 | } 22 | } 23 | } 24 | 25 | @Override 26 | public boolean hasNext() { 27 | return !done; 28 | } 29 | 30 | @Override 31 | public int[] next() { 32 | int[] result = null; 33 | if(current != null){ 34 | result = new int[current.length]; 35 | System.arraycopy(current, 0, result, 0, current.length); 36 | done = true; 37 | while(it.hasNext()){ 38 | current = it.next(); 39 | if(filter.include(current)){ 40 | done = false; 41 | break; 42 | } 43 | } 44 | } 45 | return result; 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/selector/SelectRandom.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics.selector; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.heuristics.modifiers.Modifier; 6 | import hfu.heuristics.modifiers.nh.NeighbourHood; 7 | import hfu.heuristics.modifiers.nh.SamplableNH; 8 | 9 | public class SelectRandom,P extends BenchmarkInfo,N extends NeighbourHood

& SamplableNH> extends Selector{ 10 | 11 | @Override 12 | public void init(P instance) { 13 | 14 | } 15 | 16 | @SuppressWarnings("unchecked") 17 | @Override 18 | public Proposal select(T c, Modifier modifier, int max) { 19 | Proposal proposal = new Proposal(); 20 | if(modifier.isApplicable(c)){ 21 | proposal.c_proposed = modifier.apply((T)c.deepCopy(),modifier.getNeightbourhood(c).sample()); 22 | proposal.nModifications = 1; 23 | } 24 | return proposal; 25 | } 26 | 27 | @Override 28 | public boolean usesDepthOfSearch() { 29 | return false; 30 | } 31 | 32 | @Override 33 | public boolean usesIntensityOfMutation() { 34 | return false; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /hyflex-ext/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Steven-Adriaensen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/ModifierLocalSearchHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.heuristics.modifiers.PerturbativeModifier; 6 | import hfu.heuristics.modifiers.nh.NeighbourHood; 7 | import hfu.heuristics.modifiers.nh.IterableNH; 8 | import hfu.heuristics.selector.Selector; 9 | 10 | public class ModifierLocalSearchHeuristic,P extends BenchmarkInfo, N extends NeighbourHood

& IterableNH> extends LocalSearchHeuristic { 11 | 12 | PerturbativeModifier modifier; 13 | Selector sel; 14 | 15 | public ModifierLocalSearchHeuristic(Selector sel, PerturbativeModifier modifier){ 16 | this.modifier = modifier; 17 | this.sel = sel; 18 | } 19 | 20 | @Override 21 | public void init(P instance) { 22 | modifier.init(instance); 23 | sel.init(instance,params); 24 | } 25 | 26 | @Override 27 | public boolean usesDepthOfSearch() { 28 | return sel.usesDepthOfSearch(); 29 | } 30 | 31 | @Override 32 | public T improve(T c) { 33 | return sel.select(c, modifier); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/ModifierConstructionHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.heuristics.modifiers.ConstructiveModifier; 6 | import hfu.heuristics.modifiers.nh.NeighbourHood; 7 | import hfu.heuristics.selector.Selector; 8 | 9 | abstract public class ModifierConstructionHeuristic, P extends BenchmarkInfo, N extends NeighbourHood

> extends ConstructionHeuristic { 10 | 11 | ConstructiveModifier modifier; 12 | Selector sel; 13 | 14 | public abstract T getEmptySolution(); 15 | 16 | public ModifierConstructionHeuristic(Selector sel, ConstructiveModifier modifier){ 17 | this.modifier = modifier; 18 | this.sel = sel; 19 | } 20 | 21 | @Override 22 | public void init(P instance) { 23 | this.instance = instance; 24 | sel.init(instance, params); 25 | modifier.init(instance); 26 | } 27 | 28 | @Override 29 | public T apply() { 30 | T c = getEmptySolution(); 31 | while(c.isPartial()){ 32 | c = sel.select(c, modifier); 33 | } 34 | return c; 35 | } 36 | 37 | 38 | 39 | } -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-isea/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Steven-Adriaensen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-leangihh/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Steven-Adriaensen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/datastructures/AdjecencyList.java: -------------------------------------------------------------------------------- 1 | package hfu.datastructures; 2 | 3 | import java.util.ArrayList; 4 | 5 | 6 | public class AdjecencyList implements Graph{ 7 | ArrayList> G; 8 | int nedges; 9 | 10 | public AdjecencyList(int n_vertices){ 11 | G = new ArrayList>(n_vertices); 12 | for(int i = 0; i < n_vertices;i++){ 13 | G.add(new ArrayList(1)); 14 | } 15 | nedges = 0; 16 | } 17 | 18 | public void addEdge(int v1, int v2, int w){ 19 | G.get(v1-1).add(new Neighbor(v2-1,w)); 20 | G.get(v2-1).add(new Neighbor(v1-1,w)); 21 | nedges++; 22 | } 23 | 24 | public int getNedges(){ 25 | return nedges; 26 | } 27 | 28 | public int getNvertices(){ 29 | return G.size(); 30 | } 31 | 32 | public ArrayList getNeighbors(int v){ 33 | return G.get(v); 34 | } 35 | 36 | public class Neighbor{ 37 | int w; 38 | int id; 39 | 40 | Neighbor(int id, int w){ 41 | this.w = w; 42 | this.id = id; 43 | } 44 | 45 | public int getW(){ 46 | return w; 47 | } 48 | 49 | public int getID(){ 50 | return id; 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/BasicSolution.java: -------------------------------------------------------------------------------- 1 | package hfu; 2 | 3 | 4 | abstract public class BasicSolution

{ 5 | private double e; 6 | protected P instance; 7 | 8 | abstract public boolean isEqualTo(BasicSolution

other); 9 | abstract public BasicSolution

deepCopy(); 10 | abstract public String toText(); 11 | abstract protected double evaluateFunctionValue(); 12 | abstract public boolean isPartial(); 13 | abstract public boolean isEmpty(); 14 | 15 | @Override 16 | public String toString(){ 17 | return toText(); 18 | } 19 | 20 | protected BasicSolution(P instance){ 21 | e = -1; 22 | this.instance = instance; 23 | } 24 | 25 | protected BasicSolution(BasicSolution

other){ 26 | e = other.e; 27 | instance = other.instance; 28 | } 29 | 30 | public double getFunctionValue(){ 31 | if(e == -1){ 32 | //not yet computed (by a previous call or delta-evaluation) => compute & store 33 | e = evaluateFunctionValue(); 34 | } 35 | return e; 36 | } 37 | 38 | protected void setFunctionValue(double e){ 39 | this.e = e; 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/QAP/heuristics/BestSwap.java: -------------------------------------------------------------------------------- 1 | package QAP.heuristics; 2 | 3 | import java.util.HashSet; 4 | import java.util.Set; 5 | 6 | import QAP.InfoQAP; 7 | import QAP.SolutionQAP; 8 | 9 | import hfu.heuristics.MutationHeuristic; 10 | 11 | public class BestSwap extends MutationHeuristic{ 12 | 13 | @Override 14 | public boolean usesDepthOfSearch() { 15 | return false; 16 | } 17 | 18 | @Override 19 | public boolean usesIntensityOfMutation() { 20 | // TODO Auto-generated method stub 21 | return true; 22 | } 23 | 24 | @Override 25 | public SolutionQAP apply(SolutionQAP c) { 26 | SolutionQAP c_res = (SolutionQAP) c.deepCopy(); 27 | double iom = params.getIOM(this); 28 | int repeated = (int) Math.ceil(1000*iom*iom*iom); 29 | Set tabu = new HashSet(); 30 | for(int i = 0; i < repeated;i++){ 31 | tabu.add(c_res.swapBest(tabu)); 32 | if(c_res.getFunctionValue() < c.getFunctionValue()){ 33 | return c_res; 34 | } 35 | } 36 | return c_res; 37 | } 38 | 39 | 40 | @Override 41 | public void init(InfoQAP instance) { 42 | // TODO Auto-generated method stub 43 | 44 | } 45 | 46 | 47 | } 48 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/src/main/java/be/kuleuven/kahosl/problem/ProblemName.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012 Mustafa MISIR, KU Leuven - KAHO Sint-Lieven, Belgium 3 | 4 | This file is part of GIHH v1.0. 5 | 6 | GIHH is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . 18 | 19 | */ 20 | 21 | package be.kuleuven.kahosl.problem; 22 | 23 | /** 24 | * Enumeration of the existing problems' names 25 | */ 26 | public enum ProblemName { 27 | 28 | MaxSAT, 29 | BinPacking, 30 | FlowShop, 31 | PersonelScheduling, 32 | TravellingSalesman, 33 | VehicleRouting 34 | } 35 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a350.txt: -------------------------------------------------------------------------------- 1 | 23 10 21 3 11 4 12 9 25 26 11 5 11 28 8 35 18 19 9 30 2 | 18 12 21 5 15 6 9 7 26 26 18 6 13 29 4 37 14 24 11 29 3 | 26 12 23 5 9 5 6 13 27 26 19 6 10 29 7 35 10 18 10 29 4 | 21 13 26 6 14 6 8 14 25 26 14 4 11 28 7 32 18 25 10 33 5 | 18 10 25 7 7 5 7 14 27 26 16 4 11 28 4 37 16 24 12 33 6 | 23 13 26 6 10 5 6 7 25 26 15 5 13 30 10 37 18 18 8 26 7 | 24 13 21 4 13 5 10 13 28 25 17 4 13 30 6 36 14 24 8 30 8 | 22 10 24 4 12 4 7 13 26 24 11 5 14 31 14 37 10 21 11 26 9 | 16 9 25 6 7 6 11 7 27 25 11 5 14 31 4 31 18 17 10 33 10 | 18 12 20 5 8 6 10 8 24 26 19 6 14 31 9 35 12 22 12 27 11 | 18 13 23 7 7 5 12 14 26 26 16 5 12 30 4 34 11 20 10 36 12 | 22 13 23 3 12 5 9 9 28 25 16 6 11 32 9 29 16 25 9 30 13 | 25 10 25 5 10 4 10 13 28 25 19 6 10 30 6 28 10 23 10 31 14 | 25 9 25 5 13 6 9 14 25 24 15 6 14 29 5 34 15 20 9 27 15 | 19 12 26 4 13 4 9 8 24 24 12 4 13 29 13 31 16 22 9 35 16 | 26 9 23 7 13 4 7 6 26 26 19 5 11 29 14 37 11 20 10 36 17 | 19 12 23 4 7 4 9 6 25 24 18 6 14 29 8 36 20 25 12 36 18 | 18 10 21 4 12 5 11 8 28 25 13 6 12 32 6 33 14 17 9 33 19 | 20 13 22 5 15 4 9 14 24 25 20 5 10 30 8 31 15 20 10 34 20 | 25 9 24 3 13 5 8 6 27 25 19 6 11 29 14 29 13 19 9 36 -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/src/main/java/be/kuleuven/kahosl/hyperheuristic/HeuristicClassType.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012 Mustafa MISIR, KU Leuven - KAHO Sint-Lieven, Belgium 3 | 4 | This file is part of GIHH v1.0. 5 | 6 | GIHH is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . 18 | 19 | */ 20 | 21 | package be.kuleuven.kahosl.hyperheuristic; 22 | 23 | public enum HeuristicClassType { 24 | 25 | /** 26 | * Generic heuristic class types for the generality of hyper-heuristics 27 | */ 28 | OnlyImproving, 29 | ImprovingMoreOrEqual, 30 | WorseningMore, 31 | OnlyWorsening, 32 | OnlyEqual 33 | 34 | } 35 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/MAC/parsers/CFGParserMAC.java: -------------------------------------------------------------------------------- 1 | package MAC.parsers; 2 | 3 | import MAC.InfoMAC; 4 | import hfu.datastructures.AdjecencyList; 5 | import hfu.parsers.LLCFGParser; 6 | import hfu.parsers.cfg.EBNF; 7 | import hfu.parsers.cfg.MyParseTree; 8 | 9 | public class CFGParserMAC extends LLCFGParser{ 10 | 11 | @Override 12 | public EBNF getEBNF() { 13 | EBNF ebnf = new EBNF(); 14 | ebnf.addRule("[S]", "[Header] [Edges]"); 15 | ebnf.addRule("[Header]", " \n"); 16 | ebnf.addRule("[Edges]", "[Edge] [Edges]"); 17 | ebnf.addRule("[Edges]", ""); 18 | ebnf.addRule("[Edge]"," \n"); 19 | return ebnf; 20 | } 21 | 22 | @Override 23 | public InfoMAC interpret(MyParseTree ptree) { 24 | int nvertices = ptree.get("Header").get("nvertices").asInteger(); 25 | int nedges = ptree.get("Header").get("nedges").asInteger(); 26 | AdjecencyList G = new AdjecencyList(nvertices); 27 | MyParseTree edges = ptree.get("Edges"); 28 | for(int i = 0; i < nedges;i++){ 29 | MyParseTree edge = edges.get("Edge"); 30 | G.addEdge(edge.get("v1").asInteger(), edge.get("v2").asInteger(), edge.get("w").asInteger()); 31 | edges = edges.rNext(); 32 | } 33 | return new InfoMAC(G); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a1050.txt: -------------------------------------------------------------------------------- 1 | 28 9 86 10 77 38 73 11 59 14 22 22 69 45 17 3 66 14 77 17 2 | 22 6 83 12 76 36 68 9 57 10 22 21 68 41 18 1 65 7 76 14 3 | 28 9 86 13 78 38 71 11 58 14 25 22 67 45 17 5 66 14 77 18 4 | 28 10 86 10 76 38 73 10 60 14 24 22 68 47 17 6 63 14 76 18 5 | 23 6 84 10 76 38 71 9 58 11 23 19 69 44 17 2 62 9 77 17 6 | 21 7 80 12 76 37 68 8 54 8 19 18 67 41 17 1 65 8 76 14 7 | 24 9 83 13 76 36 73 9 60 13 24 20 69 44 18 6 63 11 75 18 8 | 22 9 82 9 77 38 70 8 56 9 21 18 68 41 17 2 63 7 75 14 9 | 21 9 84 9 76 38 67 10 57 12 17 20 68 41 16 2 62 6 76 14 10 | 21 8 83 10 76 38 69 10 54 8 18 20 69 42 17 1 62 7 75 14 11 | 22 6 85 9 76 36 72 11 57 13 23 20 67 43 18 1 63 8 75 16 12 | 18 6 80 12 78 36 67 10 54 9 17 21 67 42 15 1 62 9 75 12 13 | 27 10 86 13 78 36 73 11 57 14 23 20 68 47 19 4 65 13 77 19 14 | 22 8 84 9 76 37 69 11 58 8 18 21 69 45 17 2 65 11 75 16 15 | 26 9 86 12 77 38 73 11 60 13 24 19 69 47 16 4 66 11 77 19 16 | 27 10 85 13 78 38 70 12 59 11 25 21 69 47 17 3 66 14 76 19 17 | 19 7 81 10 77 37 68 9 58 10 21 18 68 41 17 1 62 10 77 13 18 | 19 8 82 11 76 36 68 11 55 9 19 20 67 41 15 1 62 6 75 12 19 | 21 9 84 9 78 36 72 10 55 12 23 18 69 46 18 4 62 8 75 16 20 | 20 7 81 9 76 36 69 10 56 10 21 21 67 41 15 1 62 8 77 12 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a950.txt: -------------------------------------------------------------------------------- 1 | 63 30 17 4 5 77 52 78 69 15 21 52 88 58 63 25 8 36 28 69 2 | 61 29 18 5 1 79 48 78 65 14 22 54 85 55 63 23 7 35 25 69 3 | 64 32 18 6 3 80 53 76 68 14 22 57 87 58 61 27 6 37 30 68 4 | 63 32 19 6 5 78 53 79 69 13 23 55 91 59 62 26 7 37 27 71 5 | 66 30 19 6 5 79 55 79 68 14 23 57 91 58 61 28 7 40 28 70 6 | 56 30 17 4 2 77 45 74 64 11 21 52 81 55 59 22 7 35 24 69 7 | 63 31 19 5 4 77 51 79 68 15 22 55 89 56 62 27 9 38 28 68 8 | 57 28 17 5 1 76 47 74 66 14 21 53 83 58 59 21 7 37 24 67 9 | 58 31 18 5 3 76 49 75 65 12 23 54 83 57 59 21 7 34 25 68 10 | 59 30 18 4 1 76 47 74 67 14 22 55 83 56 59 25 5 37 25 70 11 | 63 31 17 6 6 79 54 78 69 14 21 54 87 58 63 26 8 36 26 70 12 | 62 29 19 5 6 80 54 79 70 13 23 57 89 57 61 25 7 38 30 71 13 | 66 32 19 5 5 80 53 76 67 15 22 54 88 59 63 25 7 40 28 71 14 | 56 28 17 4 1 77 47 73 66 13 22 52 81 55 59 22 5 32 26 68 15 | 57 31 17 5 1 76 47 73 64 13 23 51 81 58 61 22 7 33 26 67 16 | 60 32 17 5 2 79 51 79 67 14 23 53 85 58 63 27 9 36 28 71 17 | 64 32 18 5 4 80 52 79 70 15 22 56 86 59 60 25 7 37 30 69 18 | 66 31 19 6 4 77 51 78 70 14 23 55 89 59 61 26 8 40 29 68 19 | 57 28 17 5 1 76 47 75 65 12 21 51 83 55 59 20 6 34 24 68 20 | 58 30 17 5 3 78 47 76 64 13 21 51 81 58 59 21 6 36 25 70 -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/KP/parsers/CFGParserKP.java: -------------------------------------------------------------------------------- 1 | package KP.parsers; 2 | 3 | import KP.InfoKP; 4 | import hfu.parsers.LLCFGParser; 5 | import hfu.parsers.cfg.EBNF; 6 | import hfu.parsers.cfg.MyParseTree; 7 | 8 | public class CFGParserKP extends LLCFGParser{ 9 | 10 | @Override 11 | public EBNF getEBNF() { 12 | EBNF ebnf = new EBNF(); 13 | ebnf.addRule("[S]", "[Header] [Items]"); 14 | ebnf.addRule("[Header]", "npieces: \n capacity: \n"); 15 | ebnf.addRule("[Items]", ""); 16 | ebnf.addRule("[Items]","[Item] \n [Items]"); 17 | ebnf.addRule("[Item]"," "); 18 | return ebnf; 19 | } 20 | 21 | @Override 22 | public InfoKP interpret(MyParseTree ptree) { 23 | int nitems = ptree.get("Header").get("npieces").asInteger(); 24 | int capacity = ptree.get("Header").get("capacity").asInteger(); 25 | int[] profits = new int[nitems]; 26 | int[] weights = new int[nitems]; 27 | MyParseTree items = ptree.get("Items"); 28 | for(int i = 0; i < nitems;i++){ 29 | MyParseTree item = items.get("Item"); 30 | profits[i] = item.get("profit").asInteger(); 31 | weights[i] = item.get("weight").asInteger(); 32 | items = items.rNext(); 33 | } 34 | return new InfoKP(capacity,profits,weights); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a850.txt: -------------------------------------------------------------------------------- 1 | 28 29 27 34 27 34 32 30 30 32 35 28 30 36 36 29 36 33 36 34 2 | 15 14 18 15 15 14 15 15 14 15 18 14 16 14 18 16 16 15 17 16 3 | 75 75 77 76 75 75 77 75 75 76 77 76 77 76 77 77 76 76 75 76 4 | 22 20 21 22 23 19 19 21 21 21 20 16 15 21 21 21 22 20 18 17 5 | 38 38 38 39 41 42 40 38 39 38 38 40 41 41 38 41 40 40 40 38 6 | 38 31 34 31 35 37 29 37 39 34 38 31 37 30 32 33 32 33 31 37 7 | 37 38 36 34 35 37 33 33 35 35 34 32 34 33 37 33 33 36 33 38 8 | 21 21 22 21 22 22 21 20 21 20 22 22 21 20 21 22 21 21 20 21 9 | 26 27 27 25 26 27 25 26 27 25 26 25 26 25 25 27 26 25 26 25 10 | 72 69 73 66 69 69 65 75 74 72 70 66 65 69 65 74 65 67 73 73 11 | 35 33 32 34 32 31 33 33 31 32 31 33 32 31 34 34 35 33 35 34 12 | 13 15 12 12 15 15 15 11 11 15 12 13 9 14 15 12 10 11 13 9 13 | 73 76 76 72 73 72 72 75 74 76 76 73 72 75 73 75 74 72 75 73 14 | 28 27 28 23 23 26 27 27 24 29 27 28 23 29 29 28 26 28 26 27 15 | 22 28 30 26 28 25 21 30 24 24 21 25 25 26 24 25 25 27 25 26 16 | 10 9 6 11 7 11 7 7 9 12 7 11 9 11 8 7 9 11 7 8 17 | 62 64 64 62 62 62 64 64 64 63 64 62 62 64 63 63 63 62 64 63 18 | 7 2 4 2 10 5 10 7 3 12 3 6 8 4 9 9 2 3 2 12 19 | 72 72 73 82 76 82 82 74 74 73 80 82 72 75 72 78 73 75 75 75 20 | 41 38 42 38 41 41 38 40 40 38 38 39 40 41 42 41 38 41 40 41 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a1050.txt: -------------------------------------------------------------------------------- 1 | 13 42 79 99 63 52 78 15 8 50 79 82 99 39 35 45 69 8 78 53 2 | 11 48 79 98 61 52 78 17 7 49 80 82 99 36 34 45 69 4 79 51 3 | 16 48 78 98 62 50 77 15 10 50 78 82 96 40 36 44 71 8 80 53 4 | 8 41 79 99 58 51 83 17 8 50 77 81 98 37 32 45 71 6 77 55 5 | 10 42 77 98 57 51 78 15 9 49 78 83 99 41 32 43 69 9 77 55 6 | 12 46 78 99 61 50 79 15 8 51 77 83 97 42 35 45 68 2 78 51 7 | 11 42 79 98 59 50 82 16 8 51 78 82 97 43 33 45 70 3 80 51 8 | 10 41 79 98 58 52 77 15 8 49 80 83 96 42 33 45 70 7 79 52 9 | 18 47 79 99 65 51 77 15 7 49 77 82 97 41 34 44 70 9 79 53 10 | 8 42 77 99 63 51 83 16 7 49 80 81 99 43 34 45 72 5 80 54 11 | 9 44 77 99 61 50 82 17 8 49 79 82 99 38 35 44 72 8 80 54 12 | 15 49 79 99 65 51 82 16 8 50 78 82 95 44 33 45 72 10 80 51 13 | 10 41 78 98 62 52 81 17 9 51 77 82 96 37 35 44 70 10 78 53 14 | 9 45 78 99 58 51 82 16 9 49 76 83 97 43 35 43 70 9 79 55 15 | 12 49 78 98 65 51 77 17 8 51 79 83 96 40 33 45 70 5 78 54 16 | 15 41 77 99 64 51 83 16 7 51 76 83 95 36 35 44 68 10 78 53 17 | 11 43 78 99 62 51 80 17 10 51 77 83 98 40 36 45 71 5 77 55 18 | 16 47 79 99 60 50 77 16 10 49 77 83 95 40 33 45 70 3 78 51 19 | 17 48 78 98 59 50 82 15 6 51 76 82 95 38 32 43 70 6 79 53 20 | 12 41 78 98 64 52 80 15 10 51 79 81 99 37 34 43 71 6 81 51 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a1050.txt: -------------------------------------------------------------------------------- 1 | 92 88 86 85 85 95 89 95 86 87 93 85 93 92 91 95 95 94 95 95 2 | 33 30 35 30 32 36 33 32 31 36 35 31 32 36 34 36 30 31 30 36 3 | 80 84 83 83 82 78 78 81 80 78 82 83 78 79 79 84 81 78 84 78 4 | 27 23 24 25 30 28 22 27 24 28 26 30 25 26 28 23 28 28 28 30 5 | 77 83 85 85 78 85 85 82 78 83 85 79 83 86 79 78 86 84 78 79 6 | 94 94 91 94 89 90 94 95 87 92 87 89 96 89 93 91 89 93 89 88 7 | 84 76 81 81 81 80 84 82 80 84 82 81 79 81 83 77 76 84 84 83 8 | 38 40 36 38 38 36 39 38 37 39 38 37 38 37 36 40 37 38 39 39 9 | 29 36 37 28 34 36 34 34 28 32 37 28 30 31 29 35 34 38 30 38 10 | 52 51 50 50 52 52 52 51 51 52 50 50 51 52 50 51 51 50 50 50 11 | 18 23 20 24 22 26 22 26 18 25 18 24 25 24 24 22 26 26 20 22 12 | 11 9 8 13 7 11 10 12 11 10 11 10 13 10 13 9 9 7 8 12 13 | 63 61 65 62 60 66 60 62 65 65 65 66 63 63 62 63 65 63 63 60 14 | 97 97 97 97 96 94 93 94 97 95 94 95 97 94 94 94 93 95 94 96 15 | 3 3 1 5 1 6 1 2 3 4 6 6 3 7 1 4 6 5 7 1 16 | 93 88 89 90 92 88 92 90 89 92 89 93 97 93 87 94 96 97 88 96 17 | 52 50 52 56 54 56 54 56 55 56 55 49 50 51 51 49 52 56 57 56 18 | 19 20 24 20 24 18 23 24 22 20 21 24 18 24 20 18 20 23 21 20 19 | 91 89 90 89 89 89 90 89 90 90 90 90 91 91 89 91 90 89 91 90 20 | 62 58 62 60 61 61 59 62 58 58 60 59 58 58 62 58 60 59 60 61 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a850.txt: -------------------------------------------------------------------------------- 1 | 71 28 52 60 63 45 56 80 26 73 52 7 4 74 68 44 63 15 62 40 2 | 63 27 53 57 62 45 52 75 19 77 53 14 2 66 69 47 66 10 62 41 3 | 70 23 53 57 62 47 54 78 22 71 52 12 1 72 63 45 64 11 62 38 4 | 63 26 53 60 60 41 54 81 23 76 53 12 7 70 65 46 64 18 62 39 5 | 65 24 52 58 65 48 55 75 24 72 53 14 3 66 66 45 67 14 62 38 6 | 66 31 53 58 64 49 56 73 18 77 52 11 4 67 63 44 69 12 64 40 7 | 69 25 51 55 66 41 54 78 18 74 53 9 3 68 61 46 65 8 62 40 8 | 61 26 51 58 66 41 55 78 24 73 52 11 7 69 63 46 63 10 64 38 9 | 68 31 52 61 65 42 56 75 21 76 54 6 1 74 67 44 67 15 64 39 10 | 61 26 52 59 58 46 54 74 21 75 52 6 5 72 62 46 65 16 63 37 11 | 65 27 51 55 58 41 54 80 19 72 54 6 6 64 68 47 63 14 64 41 12 | 66 25 51 61 61 44 54 81 24 74 53 14 1 74 64 43 63 14 64 39 13 | 69 26 51 59 65 46 52 78 23 73 53 11 3 64 61 46 64 14 64 39 14 | 62 30 51 57 63 47 55 71 24 76 53 9 1 69 67 46 64 17 63 38 15 | 67 28 53 58 61 49 52 78 22 74 52 6 1 64 67 43 62 18 64 37 16 | 63 24 51 56 58 46 54 72 18 77 52 9 1 72 69 43 69 18 63 39 17 | 70 23 51 57 65 41 52 78 25 71 52 9 4 69 66 44 62 10 63 39 18 | 69 29 51 57 58 43 53 73 23 76 54 11 4 65 68 43 69 15 62 41 19 | 62 22 51 57 66 46 54 78 26 71 54 12 5 67 67 45 63 10 64 41 20 | 71 27 51 55 63 46 53 78 18 75 53 14 7 66 64 43 61 18 62 41 -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/src/main/java/be/kuleuven/kahosl/acceptance/AcceptanceCriterionType.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012 Mustafa MISIR, KU Leuven - KAHO Sint-Lieven, Belgium 3 | 4 | This file is part of GIHH v1.0. 5 | 6 | GIHH is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . 18 | 19 | */ 20 | 21 | package be.kuleuven.kahosl.acceptance; 22 | 23 | import java.io.Serializable; 24 | 25 | /** 26 | * This class involves available move acceptance types. 27 | * It can be extended by implementing new move acceptance mechanisms. 28 | */ 29 | public enum AcceptanceCriterionType implements Serializable { 30 | 31 | AdaptiveIterationLimitedListBasedTA 32 | } 33 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-adaphh/src/main/java/be/kuleuven/kahosl/selection/SelectionMethodType.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012 Mustafa MISIR, KU Leuven - KAHO Sint-Lieven, Belgium 3 | 4 | This file is part of GIHH v1.0. 5 | 6 | GIHH is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . 18 | 19 | */ 20 | 21 | package be.kuleuven.kahosl.selection; 22 | 23 | import java.io.Serializable; 24 | 25 | /** 26 | * This class involves available heuristic selection types. 27 | * It can be extended by implementing new heuristic selection mechanisms. 28 | */ 29 | public enum SelectionMethodType implements Serializable { 30 | 31 | AdaptiveLimitedLAassistedDHSMentorSTD 32 | } 33 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a650.txt: -------------------------------------------------------------------------------- 1 | 21 22 17 14 18 19 17 17 18 19 17 15 14 14 24 18 24 16 20 14 2 | 46 46 47 43 44 46 44 43 43 43 45 44 47 47 47 45 43 46 43 45 3 | 45 45 43 42 41 42 43 44 45 39 39 42 44 43 41 40 44 42 45 41 4 | 10 11 11 9 11 8 7 9 7 9 11 7 7 7 11 7 9 10 9 11 5 | 58 59 58 59 58 61 60 58 64 59 63 60 63 58 60 58 64 59 58 59 6 | 28 28 26 27 28 27 28 27 27 26 28 27 28 26 27 28 27 28 28 27 7 | 11 12 10 9 11 12 11 12 9 12 9 12 11 9 10 10 9 10 12 13 8 | 49 50 46 50 45 49 45 51 48 50 50 48 45 47 47 51 49 50 46 46 9 | 44 44 45 44 45 44 43 43 43 45 44 45 45 44 44 44 43 43 43 43 10 | 56 59 59 60 60 58 57 60 60 57 60 56 57 59 56 59 57 56 58 60 11 | 30 32 32 31 31 30 30 31 32 32 30 30 32 32 32 32 30 32 32 30 12 | 63 60 53 60 53 57 56 59 59 61 53 55 54 60 56 53 62 55 59 56 13 | 29 30 30 31 29 30 29 31 31 29 30 29 31 29 30 31 30 31 31 30 14 | 41 48 43 47 47 50 42 47 45 48 41 49 45 50 41 43 41 47 50 40 15 | 25 23 23 21 22 23 22 24 24 25 24 22 22 24 25 23 24 21 25 25 16 | 36 41 38 38 39 40 36 35 39 39 35 42 36 37 43 38 42 40 37 41 17 | 40 42 44 42 40 42 40 43 41 43 42 41 44 42 40 41 41 44 44 44 18 | 44 43 44 43 42 42 43 43 43 44 42 42 44 44 43 44 42 44 43 44 19 | 60 66 58 68 63 65 67 60 58 63 58 65 59 65 58 65 62 65 59 65 20 | 47 46 47 48 46 48 46 48 48 46 46 47 47 46 47 46 47 47 48 46 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a650.txt: -------------------------------------------------------------------------------- 1 | 69 11 18 57 51 29 12 10 24 19 28 50 52 15 18 65 27 22 53 44 2 | 63 9 19 56 48 23 12 9 20 14 22 51 46 15 14 63 26 23 53 40 3 | 59 10 18 56 50 26 10 10 20 14 22 49 46 15 10 63 26 21 53 40 4 | 65 9 17 53 50 27 10 11 22 16 25 52 52 15 18 63 28 21 55 41 5 | 65 11 19 57 49 25 10 9 25 16 26 50 49 15 14 64 28 22 55 44 6 | 67 9 20 56 49 27 12 9 25 19 28 50 51 16 20 63 29 21 55 42 7 | 60 11 19 53 50 23 12 9 21 12 26 52 49 15 13 65 26 22 55 41 8 | 67 11 19 54 49 26 12 10 26 16 24 51 49 17 14 64 26 22 54 42 9 | 69 11 18 57 49 27 12 10 24 18 27 53 52 17 20 64 29 22 54 45 10 | 59 9 17 53 47 23 10 10 20 13 22 49 47 16 10 64 24 22 53 41 11 | 64 9 16 55 47 26 12 11 21 11 22 51 50 17 14 63 28 23 53 43 12 | 67 9 19 57 51 25 11 9 25 17 26 50 49 15 15 65 30 23 53 42 13 | 68 9 18 56 51 28 10 9 25 17 28 53 51 17 19 65 29 23 53 45 14 | 69 11 18 56 51 29 12 11 26 17 27 53 52 16 20 65 30 23 55 44 15 | 66 11 16 57 50 24 11 10 22 16 24 49 48 17 13 65 29 21 53 44 16 | 67 9 20 57 50 29 12 9 26 19 28 53 52 17 20 65 28 23 53 45 17 | 67 11 17 55 51 27 12 11 24 19 28 53 52 17 18 65 30 21 55 43 18 | 62 11 18 56 48 26 10 10 23 15 24 49 50 17 15 63 27 23 55 41 19 | 69 11 20 55 48 29 12 9 25 16 26 51 51 15 20 65 30 23 55 45 20 | 69 11 19 54 51 27 12 11 25 16 26 53 50 15 17 63 29 23 55 44 -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/parsers/cfg/pep/Status.java: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: Status.java 305 2007-04-11 04:57:32Z scott $ 3 | * Copyright (C) 2007 Scott Martin 4 | * 5 | * This library is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU Lesser General Public License as published by the 7 | * Free Software Foundation; either version 2.1 of the License, or (at your 8 | * option) any later version. The GNU Lesser General Public License is 9 | * distributed with this software in the file COPYING. 10 | */ 11 | package hfu.parsers.cfg.pep; 12 | 13 | 14 | /** 15 | * Reflects the {@link Parse#getStatus() status} of a {@link Parse parse} 16 | * completed by an {@link EarleyParser Earley parser}. 17 | * @author Scott Martin 18 | * @version $LastChangedRevision: 305 $ 19 | * @see Parse 20 | * @see EarleyParser 21 | */ 22 | public enum Status { 23 | /** 24 | * Signals that a string is rejected after parsing. 25 | */ 26 | REJECT, 27 | 28 | /** 29 | * Means that a string is a valid string of a given {@link Grammar grammar}, 30 | * as determined by 31 | * {@link EarleyParser#parse(Iterable, Category) parsing}. 32 | */ 33 | ACCEPT, 34 | 35 | /** 36 | * Used for {@link Parse parses} where an error occurs during processing. 37 | */ 38 | ERROR; 39 | } 40 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a750.txt: -------------------------------------------------------------------------------- 1 | 65 55 57 65 57 56 60 59 64 55 55 56 63 65 60 64 59 60 57 64 2 | 33 35 35 31 35 35 34 32 33 34 32 34 32 35 35 33 35 31 35 31 3 | 19 20 21 27 22 26 25 23 27 25 27 24 21 25 19 27 24 27 19 22 4 | 16 12 16 15 13 17 13 15 14 15 12 15 15 13 16 17 15 16 17 11 5 | 54 49 49 50 52 56 58 49 49 55 48 52 51 51 56 52 55 51 56 55 6 | 69 67 70 65 69 67 71 67 62 64 64 71 63 62 64 62 65 67 67 63 7 | 24 20 21 25 17 19 26 27 19 18 20 25 21 18 23 20 18 22 22 21 8 | 72 73 74 70 74 70 73 72 72 74 71 71 74 73 71 71 72 73 73 72 9 | 37 38 38 38 36 37 36 36 36 36 36 36 37 36 38 38 38 38 38 36 10 | 68 61 67 66 62 65 63 64 64 69 63 61 62 66 62 63 67 62 61 68 11 | 29 35 34 29 36 34 36 32 29 34 35 36 29 37 35 36 29 34 36 32 12 | 38 43 38 36 40 41 41 36 40 43 38 44 36 42 41 42 36 38 36 37 13 | 15 14 15 14 15 18 17 15 14 14 17 15 18 16 18 17 16 18 14 17 14 | 38 39 36 37 37 37 40 36 40 40 37 37 39 38 36 38 40 37 39 37 15 | 60 60 59 61 59 60 60 61 59 60 60 61 60 60 60 61 60 60 61 60 16 | 26 24 25 27 26 25 25 28 27 29 28 29 26 24 25 29 25 25 28 27 17 | 19 19 17 17 17 17 20 17 16 19 16 19 19 18 17 20 18 16 17 19 18 | 24 31 23 26 33 25 29 33 32 28 24 26 25 29 24 30 30 28 31 27 19 | 37 35 37 36 38 38 36 35 37 38 38 35 34 36 36 34 37 38 35 36 20 | 11 11 7 9 9 8 11 10 12 11 7 14 14 9 11 10 8 6 7 10 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a950.txt: -------------------------------------------------------------------------------- 1 | 33 29 31 30 31 32 32 39 35 36 29 29 30 36 29 34 33 36 31 30 2 | 59 59 59 59 60 59 54 55 58 56 54 58 54 59 58 60 57 60 55 57 3 | 18 20 18 18 20 20 20 20 18 18 19 20 19 18 19 18 20 19 20 18 4 | 21 23 21 19 21 19 23 21 23 21 20 21 23 19 23 20 21 22 20 23 5 | 12 12 12 12 12 11 9 11 13 9 11 9 9 11 13 13 9 11 11 12 6 | 42 36 44 45 40 37 41 42 38 39 41 45 40 39 43 37 40 43 42 42 7 | 63 62 62 61 61 63 62 62 61 62 62 62 62 62 62 61 61 63 61 61 8 | 17 13 15 14 17 16 19 19 15 16 19 17 18 13 13 16 16 17 14 16 9 | 46 53 53 53 47 51 51 50 46 47 50 54 49 48 53 50 55 50 50 54 10 | 48 48 46 53 52 55 46 46 56 48 55 46 53 56 48 56 47 46 51 50 11 | 26 28 27 26 26 27 28 28 28 26 27 26 27 27 28 27 26 26 26 26 12 | 45 45 43 47 48 45 45 46 49 47 47 49 51 46 48 48 45 51 48 51 13 | 84 84 82 83 86 85 85 86 84 86 85 85 83 83 82 84 85 83 86 85 14 | 17 12 13 15 12 13 15 20 16 16 13 22 18 20 15 22 16 22 17 16 15 | 55 49 50 46 53 55 54 49 48 56 47 48 51 47 50 46 56 50 48 49 16 | 18 22 18 15 20 20 19 21 16 17 20 20 23 22 23 16 20 18 21 14 17 | 92 85 93 85 89 93 91 87 85 93 85 89 89 85 85 89 87 91 88 86 18 | 52 45 51 50 46 45 51 49 47 52 48 53 51 48 51 46 53 46 46 52 19 | 41 40 37 41 43 45 37 37 44 37 41 45 44 37 43 41 38 45 43 42 20 | 27 24 19 26 22 21 27 28 20 23 25 28 25 26 25 27 26 26 18 24 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a850.txt: -------------------------------------------------------------------------------- 1 | 8 49 40 77 21 29 33 48 74 13 20 76 19 63 14 41 41 55 66 31 2 | 12 48 46 84 25 30 32 50 78 13 23 81 20 68 19 45 43 60 66 34 3 | 10 49 46 82 24 33 34 52 78 14 23 79 18 70 17 44 44 57 66 35 4 | 10 49 46 79 25 30 33 51 76 13 25 82 22 71 18 42 42 61 66 35 5 | 11 47 45 80 25 31 33 50 77 13 24 78 17 69 18 39 44 59 66 34 6 | 5 47 39 74 22 29 31 46 75 15 20 74 15 62 13 38 39 52 64 28 7 | 9 47 42 77 25 32 32 50 74 14 22 79 20 69 16 43 43 59 66 33 8 | 8 47 41 79 23 32 34 47 75 14 22 79 20 68 18 39 43 56 66 29 9 | 6 48 40 74 22 29 33 48 74 13 21 74 16 63 13 38 39 54 64 28 10 | 13 49 47 78 22 30 33 51 79 14 24 78 19 68 17 42 41 56 64 35 11 | 15 49 49 83 23 33 35 53 79 13 26 81 20 71 19 46 44 62 66 34 12 | 11 49 42 80 22 32 32 50 77 13 24 80 18 68 16 38 39 58 66 30 13 | 15 48 47 82 23 32 35 53 77 15 24 84 23 69 19 43 45 61 66 36 14 | 13 47 46 82 24 30 34 48 78 15 22 80 21 67 16 42 44 58 65 33 15 | 9 47 45 78 24 33 34 52 77 13 23 78 18 67 15 42 42 58 66 32 16 | 10 49 41 79 23 31 35 46 73 15 24 76 17 65 14 40 40 58 66 32 17 | 6 47 40 74 22 31 31 45 73 13 21 74 15 62 14 36 39 52 64 28 18 | 10 47 41 76 22 33 33 47 75 14 21 80 20 64 14 38 42 56 66 32 19 | 9 49 46 79 23 33 35 49 76 15 24 78 18 66 19 41 43 60 65 34 20 | 8 47 42 75 21 29 32 45 74 15 19 77 17 64 15 38 41 53 64 30 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a150.txt: -------------------------------------------------------------------------------- 1 | 90 94 90 85 95 90 95 91 86 87 87 88 92 89 92 88 89 89 90 88 2 | 78 81 77 85 85 79 85 87 80 84 82 85 79 84 80 87 84 86 78 83 3 | 87 89 89 89 87 88 87 88 88 88 88 87 89 87 89 88 87 88 89 89 4 | 90 88 90 88 88 86 90 86 88 85 85 89 86 87 85 86 85 91 91 90 5 | 82 85 80 85 84 79 79 83 81 82 84 82 82 85 80 85 79 82 80 85 6 | 84 84 84 84 85 82 85 81 85 84 81 83 81 81 81 81 81 81 81 84 7 | 81 83 83 81 81 81 83 82 81 81 82 82 83 83 82 82 81 83 83 82 8 | 93 83 89 92 92 88 93 92 91 91 89 93 93 84 87 88 84 86 87 88 9 | 82 81 81 84 80 83 84 81 82 79 84 82 83 81 82 81 84 78 79 80 10 | 82 82 80 80 83 81 84 82 83 80 82 81 81 84 81 80 82 80 84 82 11 | 87 87 88 87 86 88 87 88 88 88 86 88 88 88 86 86 88 88 86 87 12 | 94 95 92 88 91 95 94 87 93 95 88 89 90 94 91 87 88 90 90 95 13 | 87 86 86 82 83 81 87 87 83 85 82 81 81 86 84 87 87 86 84 83 14 | 84 85 84 85 86 85 86 86 86 86 86 86 86 84 84 84 85 84 86 84 15 | 92 90 90 92 92 91 92 90 92 92 92 92 90 91 90 92 91 90 90 91 16 | 84 87 85 82 85 84 85 81 87 83 83 82 82 81 85 86 84 86 87 86 17 | 80 82 82 80 82 80 82 82 80 82 81 82 80 81 81 80 82 82 81 80 18 | 84 81 84 86 86 81 87 81 79 80 85 83 80 81 79 83 86 81 79 86 19 | 84 86 84 85 84 84 85 85 84 84 86 84 85 85 85 86 86 86 84 84 20 | 85 83 82 81 82 83 83 84 81 84 81 83 81 81 83 81 85 84 84 83 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a250.txt: -------------------------------------------------------------------------------- 1 | 85 78 81 87 85 77 78 84 83 85 87 80 80 80 79 85 86 83 79 78 2 | 92 91 92 92 90 91 90 90 92 90 90 90 91 92 90 92 90 90 90 90 3 | 78 76 79 77 76 82 78 76 79 76 79 78 78 76 79 78 76 76 82 81 4 | 92 92 90 91 93 92 85 87 93 86 88 86 91 91 93 85 87 93 88 93 5 | 91 93 91 93 91 91 93 92 92 93 93 92 93 91 92 91 93 92 93 91 6 | 89 87 87 88 89 88 89 87 88 89 88 89 88 87 87 88 89 89 89 87 7 | 75 78 82 81 79 80 76 80 78 78 79 79 80 80 81 78 76 81 79 74 8 | 95 95 90 89 93 88 93 92 94 96 89 93 93 91 92 95 96 89 95 94 9 | 91 90 91 87 92 93 93 91 90 89 89 92 90 90 93 91 90 90 93 89 10 | 73 77 73 76 78 74 77 72 73 77 77 73 73 77 73 76 78 72 76 74 11 | 84 81 83 80 85 82 88 88 88 86 84 84 80 87 81 81 86 86 82 87 12 | 83 82 88 85 88 83 83 85 86 88 84 82 84 87 87 87 84 85 88 87 13 | 78 74 73 73 73 72 73 73 76 74 73 72 71 78 77 78 70 70 78 76 14 | 76 77 79 76 77 78 77 75 74 80 80 76 75 78 74 77 75 79 77 76 15 | 81 80 86 81 81 81 79 78 77 81 82 83 78 81 85 80 80 81 86 82 16 | 76 73 74 73 74 71 76 76 77 74 77 71 73 76 77 72 77 73 73 75 17 | 87 90 82 80 88 81 87 85 89 88 81 84 89 86 89 87 80 90 90 90 18 | 88 93 94 93 93 91 89 94 91 94 94 92 92 96 94 92 89 96 91 91 19 | 93 91 92 95 93 91 90 91 94 92 93 94 91 92 95 91 90 89 91 95 20 | 81 91 91 90 87 90 91 86 91 82 81 91 88 84 89 84 87 85 82 89 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a350.txt: -------------------------------------------------------------------------------- 1 | 61 65 65 70 67 68 64 68 62 64 68 64 61 64 69 64 65 70 70 71 2 | 86 86 86 84 86 85 85 84 85 86 86 86 86 86 84 86 86 85 86 85 3 | 96 92 92 97 91 93 94 98 96 98 94 94 99 92 92 92 98 95 91 97 4 | 92 90 91 92 91 91 90 91 90 90 91 92 90 90 92 92 91 92 92 90 5 | 86 88 85 88 85 86 86 87 89 86 83 87 86 86 89 85 87 88 87 87 6 | 74 74 74 73 73 74 72 72 73 74 72 72 72 72 72 73 74 74 73 74 7 | 78 77 77 78 77 78 79 81 80 81 80 81 79 80 77 79 78 81 78 79 8 | 73 72 69 71 72 73 70 69 73 69 73 71 71 74 72 71 74 69 70 75 9 | 88 86 87 85 84 84 89 88 85 86 88 89 85 85 84 88 84 89 87 86 10 | 74 65 66 66 66 66 71 71 72 68 64 66 64 70 65 67 68 65 67 67 11 | 80 79 80 82 83 82 81 83 83 81 83 79 80 83 83 79 81 81 80 79 12 | 72 71 71 73 72 72 72 73 72 71 72 73 71 73 71 72 72 72 72 73 13 | 96 88 87 91 90 92 94 94 86 90 91 90 89 87 88 86 87 88 90 87 14 | 70 67 68 64 66 71 65 69 68 64 65 71 68 65 72 70 72 67 67 69 15 | 90 94 95 91 90 92 95 91 92 90 91 91 91 92 94 96 92 96 95 92 16 | 89 92 90 91 90 92 92 90 93 92 91 89 91 92 89 91 89 93 93 91 17 | 67 66 72 74 74 65 70 66 71 72 74 75 70 73 66 67 67 65 69 72 18 | 86 89 89 86 85 85 84 85 88 84 88 87 89 87 84 85 86 86 87 89 19 | 79 77 77 78 77 78 79 78 77 79 78 78 78 77 78 79 78 78 78 79 20 | 67 68 69 68 70 67 68 67 69 69 70 67 66 68 70 68 67 66 68 70 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/JobCorrelated/20x20/a450.txt: -------------------------------------------------------------------------------- 1 | 79 84 80 85 81 80 82 85 84 86 81 80 84 80 80 85 86 78 83 86 2 | 74 75 75 74 73 75 73 73 75 74 74 73 73 75 73 75 74 75 75 73 3 | 84 83 84 82 82 83 83 83 84 83 83 83 83 82 84 84 83 84 82 84 4 | 97 95 94 93 97 93 95 95 95 95 97 94 97 94 97 96 96 96 93 94 5 | 76 78 77 78 78 78 76 78 76 78 76 77 78 78 76 77 77 78 77 76 6 | 91 87 86 84 86 91 84 87 84 83 89 89 88 82 82 91 89 88 92 84 7 | 81 83 79 87 82 86 86 79 77 79 85 77 81 85 79 82 79 77 77 77 8 | 77 75 77 77 75 75 78 76 76 75 74 74 74 74 77 77 77 78 77 74 9 | 80 78 79 79 78 77 81 81 75 79 76 76 75 77 78 81 81 77 77 78 10 | 64 63 62 64 63 62 63 62 62 62 63 62 64 63 62 64 64 62 62 62 11 | 75 81 82 77 76 75 75 82 74 76 77 81 77 74 81 75 76 77 78 76 12 | 96 88 89 89 96 94 93 88 90 87 95 90 88 96 89 87 93 92 86 91 13 | 86 86 84 83 80 85 78 78 80 79 82 81 80 79 81 76 78 80 86 82 14 | 93 93 93 95 95 93 95 93 95 93 94 93 95 94 95 95 94 95 93 95 15 | 77 77 74 78 78 74 73 74 77 77 78 78 74 74 74 74 73 73 75 74 16 | 82 81 82 84 82 82 84 85 85 85 81 81 84 83 82 85 83 83 82 82 17 | 91 84 83 89 91 92 85 90 84 87 87 86 83 92 86 91 86 84 91 86 18 | 75 71 71 72 71 73 73 75 71 74 74 74 72 72 75 72 75 71 71 73 19 | 93 95 95 97 95 95 92 93 97 92 94 91 93 92 97 92 97 96 95 94 20 | 74 72 75 73 72 78 80 73 76 72 80 78 78 80 73 80 71 78 81 73 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a750.txt: -------------------------------------------------------------------------------- 1 | 57 31 49 47 63 49 48 31 67 52 53 24 50 17 15 17 72 22 28 40 2 | 52 31 46 48 73 49 46 29 70 55 47 27 46 17 14 15 68 22 28 46 3 | 55 25 51 44 72 48 53 36 68 53 46 29 46 14 16 17 68 23 30 45 4 | 59 23 51 53 71 48 48 33 67 52 50 30 48 13 13 17 72 22 29 45 5 | 60 30 46 45 65 47 46 34 70 52 52 27 50 15 14 13 73 23 30 36 6 | 50 27 46 50 72 49 48 35 70 53 52 27 46 16 12 18 69 22 30 39 7 | 56 31 50 49 70 47 50 31 68 55 52 26 50 17 10 20 70 22 30 46 8 | 54 28 49 52 66 49 56 31 71 52 47 24 49 18 13 18 71 23 28 44 9 | 50 31 48 45 70 48 50 30 71 53 54 25 47 11 15 17 73 22 29 37 10 | 50 28 50 54 69 47 53 30 69 55 45 24 49 17 11 17 72 23 30 46 11 | 50 22 51 45 67 48 53 32 67 52 48 26 49 15 9 18 73 23 30 46 12 | 53 27 48 45 63 47 49 30 68 51 46 28 45 15 11 21 73 24 30 42 13 | 50 28 52 48 68 48 54 29 71 53 46 29 48 15 7 15 69 23 28 37 14 | 51 25 46 48 66 49 46 32 68 52 50 28 45 14 9 17 72 24 30 42 15 | 52 31 46 50 64 49 46 29 71 55 53 29 46 18 10 21 67 22 28 38 16 | 54 30 50 46 70 47 53 33 71 55 47 25 46 11 16 16 69 23 28 42 17 | 51 22 51 52 72 49 50 35 71 53 48 28 48 15 10 13 69 24 28 44 18 | 52 23 47 47 72 49 46 29 67 53 54 30 50 11 12 19 68 23 29 43 19 | 58 24 47 44 66 47 51 33 68 52 55 26 47 13 12 18 71 22 28 41 20 | 57 30 52 49 73 48 47 33 67 51 47 29 45 18 15 20 69 24 30 38 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a750.txt: -------------------------------------------------------------------------------- 1 | 36 61 62 65 34 63 19 25 11 10 26 30 36 73 50 51 66 73 25 72 2 | 44 61 66 69 43 65 25 32 15 18 26 31 38 75 55 58 72 73 26 74 3 | 39 60 64 69 36 65 18 28 14 14 24 31 35 73 51 52 68 71 25 74 4 | 44 60 65 69 39 65 21 27 11 17 26 29 37 77 54 56 69 72 28 74 5 | 46 60 68 69 43 65 25 32 14 19 26 31 40 77 55 59 72 71 27 73 6 | 46 62 68 70 43 65 23 32 15 19 25 31 39 76 55 60 71 73 28 74 7 | 41 60 64 67 36 63 22 25 12 12 24 31 37 73 50 56 69 71 24 72 8 | 42 62 66 69 40 65 20 27 10 16 26 29 38 75 51 54 71 71 26 74 9 | 36 61 62 66 33 61 18 22 9 10 24 29 34 71 47 52 67 71 22 74 10 | 45 62 66 70 40 63 21 29 13 16 26 30 39 77 55 56 69 73 27 74 11 | 39 62 64 64 35 61 20 24 9 11 26 31 36 72 49 50 67 73 22 72 12 | 38 60 64 64 33 61 19 22 11 11 24 29 34 72 49 52 66 71 24 74 13 | 44 62 66 68 43 65 24 30 14 17 26 31 40 77 54 60 72 73 27 74 14 | 40 61 65 68 35 62 17 27 12 11 26 29 34 72 47 53 67 72 23 73 15 | 36 60 63 64 35 61 17 24 11 9 26 29 34 71 48 52 66 73 22 72 16 | 38 62 65 67 37 62 17 22 12 10 26 31 35 71 50 50 68 71 25 73 17 | 41 60 66 65 38 61 20 26 9 13 25 30 38 71 48 52 66 73 24 72 18 | 45 60 67 70 42 65 25 32 15 19 25 31 39 77 55 60 70 71 28 74 19 | 38 60 62 66 33 61 21 25 12 13 26 29 34 72 48 54 66 72 24 73 20 | 45 61 66 69 40 65 25 30 15 19 26 30 40 77 55 60 70 71 26 74 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a050.txt: -------------------------------------------------------------------------------- 1 | 92 97 99 93 93 98 94 98 94 98 99 94 97 96 98 93 94 99 99 99 2 | 95 99 94 96 95 96 97 96 96 97 95 99 98 96 94 98 99 96 97 96 3 | 96 95 98 92 92 97 94 98 99 96 95 98 99 98 97 96 99 93 96 95 4 | 98 95 98 99 99 97 99 98 96 97 99 96 98 97 97 93 99 99 95 96 5 | 98 99 99 99 95 98 95 96 95 98 98 95 98 98 96 95 96 93 99 95 6 | 98 99 96 95 95 97 98 97 97 98 97 96 96 96 99 95 98 99 99 99 7 | 99 99 99 99 98 98 95 98 99 96 99 96 97 96 96 98 95 95 99 95 8 | 97 96 97 94 95 98 94 98 99 96 96 99 96 96 96 99 95 99 98 97 9 | 98 97 94 99 99 98 96 96 97 96 97 95 99 96 94 96 95 96 96 95 10 | 94 94 97 99 99 96 95 98 96 97 95 96 98 97 96 99 94 99 99 96 11 | 95 96 96 97 99 96 97 97 99 98 94 96 95 97 99 94 98 97 97 96 12 | 97 94 98 99 97 96 94 98 95 96 97 98 98 98 98 99 97 99 98 96 13 | 99 99 96 99 99 97 97 98 98 98 99 96 96 98 97 93 95 99 98 99 14 | 98 96 99 94 99 96 96 98 97 97 99 95 98 97 97 96 99 94 98 99 15 | 92 94 99 98 93 98 96 97 98 98 98 99 99 96 94 93 99 97 98 95 16 | 95 95 96 98 96 97 99 97 99 98 97 98 99 97 99 93 99 94 97 95 17 | 98 99 99 98 97 97 95 97 94 96 99 94 98 98 99 93 94 94 97 96 18 | 99 99 95 99 99 97 98 98 95 97 96 98 95 96 99 99 97 99 99 99 19 | 98 97 98 92 93 97 98 96 95 97 96 97 98 97 99 96 98 99 95 95 20 | 99 96 99 96 99 96 98 97 99 96 96 98 96 96 97 99 99 97 96 99 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a150.txt: -------------------------------------------------------------------------------- 1 | 50 53 46 46 45 53 54 50 52 51 54 51 52 49 52 54 59 52 50 53 2 | 50 49 47 49 51 55 55 50 47 53 53 51 51 50 53 59 58 54 50 50 3 | 49 53 50 42 47 56 54 52 50 46 53 50 53 46 53 57 54 56 52 49 4 | 49 49 48 52 50 59 55 50 54 47 52 49 52 47 52 53 56 56 49 51 5 | 49 50 48 51 51 55 53 51 51 45 54 52 51 47 52 55 55 54 52 51 6 | 50 47 47 47 50 60 53 51 50 45 53 49 50 45 54 54 58 54 47 50 7 | 55 53 48 42 45 53 55 51 47 47 52 48 48 50 53 60 57 52 52 53 8 | 50 55 46 48 48 58 53 48 49 50 54 52 48 49 54 54 60 53 48 49 9 | 48 55 50 44 48 57 55 47 47 50 52 49 53 48 53 51 59 51 49 51 10 | 49 56 48 45 51 61 55 48 44 52 52 46 51 49 52 54 53 58 49 54 11 | 54 50 47 42 43 58 53 55 51 50 54 47 52 47 53 52 59 50 47 53 12 | 52 47 48 45 46 59 55 50 46 47 53 51 50 49 52 60 58 57 46 51 13 | 51 47 48 46 51 53 54 50 51 49 52 46 49 45 53 58 60 51 46 52 14 | 52 48 46 52 48 57 53 52 54 47 53 49 52 50 53 51 60 48 48 51 15 | 57 50 50 44 49 61 55 49 46 54 52 49 49 46 54 60 56 48 50 49 16 | 54 51 50 43 51 58 55 55 54 55 52 46 51 47 52 57 53 49 48 52 17 | 51 48 50 43 49 60 54 51 49 51 52 48 50 49 54 60 59 55 50 50 18 | 54 48 47 45 50 53 55 49 51 55 54 52 48 50 52 56 57 58 47 54 19 | 52 47 48 45 45 54 54 49 53 52 53 51 50 46 54 54 55 50 50 49 20 | 56 48 46 47 43 54 55 55 46 54 54 50 52 45 52 59 60 49 49 50 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a250.txt: -------------------------------------------------------------------------------- 1 | 29 25 33 42 33 23 21 36 29 33 32 23 39 25 30 36 29 36 35 38 2 | 27 23 31 41 29 21 23 37 30 33 29 26 39 25 31 32 28 36 36 39 3 | 31 27 35 37 31 22 22 31 29 25 30 29 39 23 29 34 34 34 35 41 4 | 26 25 39 41 28 22 20 34 30 30 27 23 38 25 30 32 29 31 36 38 5 | 34 27 33 40 28 24 23 32 30 35 29 29 39 24 29 33 33 36 36 39 6 | 27 25 30 42 29 23 24 35 30 27 33 25 39 25 31 30 29 37 35 41 7 | 30 25 37 41 29 22 24 34 28 32 31 22 38 25 30 35 30 36 37 41 8 | 35 25 38 40 33 25 24 34 30 27 25 30 40 23 30 35 30 37 37 40 9 | 29 23 35 43 33 21 20 36 29 29 26 29 38 25 29 34 34 34 35 39 10 | 27 26 31 42 32 22 29 32 28 35 28 30 40 25 31 34 31 33 35 42 11 | 34 24 29 43 28 25 21 34 28 35 24 28 39 25 30 31 33 32 36 38 12 | 30 23 36 39 27 22 22 34 29 34 24 27 39 24 30 35 29 32 35 40 13 | 26 25 35 38 25 25 22 32 28 33 28 20 38 25 29 34 34 34 37 38 14 | 34 26 36 40 28 24 29 32 30 32 29 20 40 23 31 32 34 33 37 39 15 | 35 27 30 40 29 24 24 35 29 30 33 20 40 23 30 36 30 37 36 38 16 | 27 26 39 43 28 23 24 33 28 34 33 23 39 24 29 30 31 38 35 38 17 | 31 25 38 41 26 24 28 31 28 33 32 23 40 23 29 33 29 33 36 39 18 | 33 27 31 38 28 25 23 31 28 29 28 22 40 25 31 30 32 36 37 40 19 | 25 23 31 38 27 24 24 36 29 31 32 22 40 24 29 32 34 32 37 40 20 | 32 24 34 40 25 22 21 37 30 25 30 27 39 25 30 34 31 38 37 39 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a450.txt: -------------------------------------------------------------------------------- 1 | 83 60 76 56 53 53 59 85 51 51 67 85 83 74 85 66 62 71 77 88 2 | 76 60 76 55 56 49 59 81 59 52 66 83 83 79 85 65 64 71 79 86 3 | 77 61 77 58 58 52 60 82 59 48 68 85 81 78 87 67 62 71 80 89 4 | 83 60 78 56 55 50 59 80 58 48 66 86 81 75 83 66 63 71 77 86 5 | 80 62 76 53 57 48 60 84 56 51 67 85 76 79 88 65 63 66 77 89 6 | 74 60 78 58 54 51 60 82 55 47 66 86 76 73 84 67 63 69 80 86 7 | 83 61 77 59 59 49 60 79 56 46 67 83 77 74 89 67 63 71 78 85 8 | 75 60 76 60 54 50 60 78 54 47 66 82 84 74 86 68 63 67 77 87 9 | 80 62 78 54 53 51 58 80 52 52 68 84 79 76 89 64 63 69 80 85 10 | 75 61 78 50 57 48 59 80 52 50 66 82 84 79 84 67 64 72 79 87 11 | 79 60 76 58 57 46 60 80 56 51 66 83 80 73 86 68 63 69 78 89 12 | 80 62 77 50 59 52 60 78 54 52 66 83 78 75 85 66 64 70 77 85 13 | 79 60 78 57 58 46 60 81 54 47 66 86 83 73 83 66 62 71 77 89 14 | 81 61 78 56 53 51 58 82 59 52 67 85 83 77 87 67 62 68 80 89 15 | 81 61 78 52 53 48 59 84 56 51 67 85 80 77 83 67 64 68 80 88 16 | 81 61 78 60 53 51 58 82 56 51 68 85 78 80 89 66 64 72 80 89 17 | 73 62 76 58 53 48 58 77 53 51 68 85 84 74 87 64 64 69 77 88 18 | 81 62 76 54 58 53 58 80 55 51 66 84 77 72 86 68 62 67 80 89 19 | 80 62 77 59 57 49 60 78 57 47 68 86 77 76 87 65 62 69 77 85 20 | 74 62 78 57 55 52 59 79 55 47 66 86 76 78 86 66 62 69 79 88 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a550.txt: -------------------------------------------------------------------------------- 1 | 71 49 71 41 35 30 43 52 62 48 55 68 42 51 64 70 45 52 40 74 2 | 73 49 64 44 37 28 46 54 58 42 53 67 43 48 65 75 42 55 44 77 3 | 78 47 66 42 33 32 48 50 53 41 52 68 41 47 67 74 43 53 39 76 4 | 72 48 72 46 36 28 47 55 56 48 53 67 43 53 67 73 42 53 39 73 5 | 70 47 69 47 32 28 46 53 59 48 54 63 43 51 66 72 43 51 43 76 6 | 75 48 69 47 31 31 45 46 60 47 55 69 42 55 67 72 46 55 42 79 7 | 71 49 64 44 31 30 49 52 56 47 54 64 42 56 65 75 44 55 43 81 8 | 78 49 64 47 36 32 46 50 55 42 56 68 41 56 63 68 43 55 38 73 9 | 72 49 64 42 32 30 48 53 60 42 55 64 41 49 66 74 44 51 40 79 10 | 71 48 70 47 37 31 41 51 53 44 54 63 43 55 67 75 45 51 40 80 11 | 79 49 68 46 33 30 44 56 61 46 54 69 42 54 67 70 46 53 42 81 12 | 78 48 66 48 32 32 48 56 62 45 54 67 41 55 64 75 43 52 39 83 13 | 72 47 64 49 31 28 42 46 53 49 55 67 43 53 67 75 42 51 44 76 14 | 77 49 65 46 33 30 47 49 57 45 53 65 43 53 63 68 44 52 41 79 15 | 71 47 69 41 32 30 46 50 55 45 55 69 42 54 65 76 46 51 42 79 16 | 74 47 67 49 34 28 48 49 61 47 55 69 41 52 67 70 43 52 39 82 17 | 77 49 70 44 37 30 49 46 55 42 55 65 43 49 67 70 44 51 41 77 18 | 72 48 64 44 37 29 45 50 53 49 52 64 43 48 66 70 42 53 41 73 19 | 69 49 68 43 32 31 48 49 55 41 52 65 42 51 67 69 45 54 38 77 20 | 72 48 64 43 31 32 46 50 57 49 53 64 43 47 63 68 46 54 38 76 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a650.txt: -------------------------------------------------------------------------------- 1 | 51 32 54 49 75 54 53 67 47 40 53 48 25 41 39 64 76 36 63 45 2 | 48 32 46 48 76 55 51 69 44 44 57 44 25 40 37 64 79 35 72 49 3 | 47 33 55 49 74 55 55 63 45 45 49 47 27 39 37 62 75 37 66 46 4 | 51 34 54 49 74 57 55 62 51 47 54 44 26 39 39 62 76 36 69 46 5 | 53 32 53 49 77 55 52 68 53 39 55 44 25 43 39 64 75 35 68 48 6 | 53 32 48 48 81 58 53 64 49 47 50 45 27 43 39 64 79 37 65 45 7 | 50 33 48 49 76 58 52 70 50 38 55 46 26 43 38 64 77 35 67 46 8 | 55 34 54 47 78 56 52 62 45 41 52 46 27 40 35 62 75 37 68 46 9 | 51 34 47 48 77 57 55 69 49 40 49 46 27 40 35 64 75 36 63 48 10 | 47 34 54 47 73 57 55 62 50 37 55 44 27 42 39 62 75 35 63 48 11 | 55 33 48 47 78 58 55 70 53 41 57 47 27 43 39 60 78 36 70 45 12 | 49 33 51 47 78 54 51 65 52 42 55 45 25 43 38 62 77 35 71 49 13 | 50 34 54 47 72 56 53 66 48 46 56 48 27 43 36 65 76 35 68 48 14 | 48 34 55 47 81 58 53 68 52 43 54 48 25 40 39 60 76 37 65 49 15 | 55 32 49 49 80 56 55 66 48 38 53 46 26 42 35 62 79 36 67 46 16 | 54 33 48 47 74 57 55 69 52 47 51 48 26 41 35 63 78 37 70 48 17 | 51 34 47 47 81 56 54 68 54 37 52 48 26 41 35 65 78 35 73 45 18 | 54 33 48 47 78 55 54 70 48 41 49 45 25 43 36 60 76 35 72 47 19 | 52 32 46 49 78 58 52 64 53 41 57 48 26 40 36 63 75 37 65 45 20 | 52 32 54 49 74 55 51 64 46 41 49 46 26 40 36 61 77 36 68 47 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MachineCorrelated/20x20/a950.txt: -------------------------------------------------------------------------------- 1 | 92 42 69 84 67 52 75 57 72 27 73 94 52 63 61 94 78 15 33 50 2 | 93 40 76 84 74 52 70 60 72 24 73 92 53 66 57 95 81 16 34 59 3 | 93 47 73 86 66 58 72 57 71 30 73 96 53 63 59 98 76 22 34 58 4 | 97 45 74 87 72 56 76 57 65 25 73 95 52 67 57 99 71 20 33 52 5 | 99 45 75 87 70 56 74 55 71 25 73 94 52 67 58 99 77 20 35 56 6 | 99 40 74 85 71 58 75 60 66 28 74 97 52 63 62 94 76 20 34 58 7 | 90 45 72 86 66 52 76 53 72 26 73 94 54 63 60 99 76 15 34 52 8 | 97 41 76 84 70 54 72 63 70 26 72 93 52 63 61 99 81 22 35 58 9 | 93 46 74 86 73 58 74 61 72 32 73 99 54 66 60 99 77 16 33 49 10 | 90 41 70 84 69 52 70 57 68 28 73 91 54 67 62 99 72 14 33 53 11 | 98 47 73 87 72 55 70 57 67 25 72 98 54 66 58 95 77 19 35 57 12 | 96 39 68 87 71 55 76 60 65 24 72 92 52 65 58 97 77 16 35 51 13 | 95 41 69 87 67 56 72 55 65 24 74 95 52 66 62 94 75 20 34 49 14 | 91 40 70 85 73 56 71 61 66 28 72 91 52 66 57 99 80 21 35 49 15 | 90 41 75 84 71 53 69 55 64 25 72 94 52 64 56 97 75 20 34 58 16 | 99 44 73 84 70 52 71 61 66 32 72 96 52 65 61 99 77 17 35 54 17 | 96 41 76 87 72 54 77 60 73 28 72 90 53 65 61 98 81 21 35 51 18 | 92 40 68 85 68 56 76 56 66 32 73 92 53 64 56 96 79 22 35 49 19 | 95 47 71 86 71 58 76 62 69 32 72 90 54 64 62 96 80 17 34 50 20 | 92 41 71 86 67 57 73 62 74 26 73 90 54 66 56 98 80 16 34 54 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a050.txt: -------------------------------------------------------------------------------- 1 | 49 49 47 46 49 49 46 43 48 45 49 46 47 43 46 45 47 48 46 43 2 | 40 39 43 45 39 42 42 44 40 43 42 41 41 43 45 43 43 40 43 43 3 | 39 42 44 43 42 42 41 43 40 44 39 41 41 45 42 43 41 40 40 43 4 | 42 41 44 46 45 43 45 43 42 45 44 44 44 45 46 45 44 42 43 45 5 | 44 42 46 44 43 41 41 45 41 45 43 46 46 43 44 45 43 44 42 45 6 | 39 39 41 42 39 39 40 45 40 43 39 41 41 43 44 43 42 40 41 43 7 | 46 46 44 45 48 46 48 45 48 45 48 46 47 44 46 45 47 46 47 44 8 | 41 41 41 43 44 43 43 44 41 43 44 44 41 45 42 44 43 43 42 43 9 | 46 42 46 42 46 45 46 45 46 45 43 46 43 43 45 43 42 45 45 44 10 | 46 48 47 43 46 46 45 44 47 45 47 46 47 45 46 45 44 47 46 44 11 | 44 47 46 43 44 44 46 45 46 44 44 43 43 43 43 45 46 46 46 43 12 | 40 39 41 44 43 43 43 43 40 44 40 41 44 43 45 43 44 41 40 43 13 | 49 46 44 44 46 49 45 43 46 43 47 44 47 45 46 45 44 45 45 45 14 | 45 41 42 44 42 42 45 44 45 45 41 42 46 45 43 44 43 44 46 45 15 | 46 48 45 46 44 45 48 45 44 45 46 46 47 45 44 44 43 45 47 44 16 | 42 43 44 42 42 42 41 43 45 43 42 45 45 45 43 43 45 42 42 45 17 | 45 43 42 42 42 43 42 44 41 45 44 44 41 44 45 43 41 45 43 43 18 | 47 44 46 43 46 47 44 45 46 43 44 43 46 43 45 43 45 44 43 43 19 | 39 41 44 44 39 40 42 43 40 43 39 44 44 44 42 43 41 42 42 45 20 | 43 40 43 44 43 41 43 43 43 45 41 41 41 45 45 43 41 43 42 43 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a150.txt: -------------------------------------------------------------------------------- 1 | 61 70 65 63 59 67 59 63 59 65 63 58 60 66 60 62 60 60 63 66 2 | 61 69 65 62 59 65 62 64 60 67 65 60 61 68 61 64 61 61 61 66 3 | 63 67 65 62 59 65 62 62 60 67 65 58 62 68 61 61 58 60 61 67 4 | 56 62 63 62 57 61 52 57 60 61 61 55 60 64 55 58 54 55 54 62 5 | 64 69 65 63 59 65 62 64 60 67 63 57 62 68 58 64 62 61 62 66 6 | 57 65 63 61 57 64 55 57 58 61 63 54 60 66 55 59 55 55 54 61 7 | 62 70 65 63 59 65 61 65 60 68 64 60 62 68 61 61 62 61 64 69 8 | 58 66 65 63 57 64 57 63 60 67 63 59 60 65 58 63 58 57 58 67 9 | 59 68 65 63 59 64 57 62 59 69 64 57 62 67 58 60 58 58 59 69 10 | 60 68 65 61 59 67 59 60 59 66 64 58 60 66 58 61 57 58 59 66 11 | 54 65 64 62 59 64 56 60 58 65 64 55 60 67 55 58 55 57 55 63 12 | 59 66 63 61 57 64 55 62 58 62 61 55 62 64 58 59 58 56 59 64 13 | 55 66 64 63 59 61 54 62 60 62 62 57 61 67 55 60 57 56 55 64 14 | 57 68 64 61 57 63 55 63 58 64 63 55 61 68 60 59 59 57 59 66 15 | 54 65 65 63 57 61 53 60 60 62 63 56 60 66 55 61 56 54 54 63 16 | 61 70 65 63 59 67 62 65 59 67 64 59 61 66 58 64 60 61 61 67 17 | 63 70 65 63 59 67 59 62 60 67 65 59 62 66 61 64 60 61 64 69 18 | 58 66 63 63 59 64 59 61 58 67 61 59 61 64 60 61 59 60 60 66 19 | 59 66 63 61 59 63 57 61 60 65 64 59 62 66 60 61 60 60 62 68 20 | 56 67 65 63 57 62 54 62 58 63 61 58 60 66 55 59 56 56 57 62 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a250.txt: -------------------------------------------------------------------------------- 1 | 79 83 92 85 87 89 80 80 85 83 80 84 79 91 82 87 81 88 90 86 2 | 76 77 93 84 86 83 77 76 81 78 80 79 81 87 77 81 77 84 85 85 3 | 77 82 92 87 87 88 80 78 83 81 80 86 81 91 80 85 79 84 93 83 4 | 77 82 91 83 86 87 80 80 85 84 81 83 80 88 82 86 80 88 91 85 5 | 75 77 90 85 86 88 79 76 82 81 82 80 81 88 78 82 77 83 90 85 6 | 80 80 93 86 87 89 80 80 83 85 81 86 80 89 80 86 81 88 93 86 7 | 81 83 93 86 88 89 80 80 83 85 82 86 80 92 82 87 81 86 90 85 8 | 80 79 93 87 88 89 77 80 82 84 81 86 80 92 79 87 80 85 93 85 9 | 72 75 90 81 87 85 74 77 81 79 80 77 80 85 79 80 78 80 86 84 10 | 71 73 89 79 86 86 76 76 78 77 81 76 80 86 77 78 77 83 83 82 11 | 75 79 89 84 87 85 77 79 81 80 81 83 81 86 77 83 81 82 90 86 12 | 79 81 92 88 88 89 79 78 86 83 81 85 81 92 82 86 79 87 93 86 13 | 78 81 91 84 86 88 78 80 85 79 82 80 79 90 82 83 80 86 89 83 14 | 73 74 92 79 87 86 74 76 81 79 81 78 79 84 76 81 80 80 84 82 15 | 81 81 93 88 88 87 80 80 86 85 82 86 81 92 82 87 80 86 93 84 16 | 76 76 93 81 88 84 77 78 83 80 80 83 79 90 78 84 81 82 90 83 17 | 77 75 90 84 87 87 77 77 79 80 80 81 81 88 79 82 80 81 88 85 18 | 79 83 93 88 87 88 80 80 84 82 82 86 81 90 81 84 81 88 91 86 19 | 73 73 92 80 87 83 74 78 80 78 80 78 79 87 78 78 77 83 83 82 20 | 76 75 91 82 88 83 77 77 81 81 82 78 80 87 77 79 78 81 86 82 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a350.txt: -------------------------------------------------------------------------------- 1 | 83 65 78 83 76 69 78 80 70 75 72 66 67 83 87 69 91 71 70 92 2 | 85 63 78 81 77 69 77 81 70 75 74 64 67 81 87 67 90 72 72 91 3 | 89 69 82 83 82 73 78 82 78 75 77 68 69 82 89 75 92 74 74 96 4 | 89 70 83 83 82 73 76 82 78 75 76 69 69 81 91 73 92 74 74 96 5 | 89 69 83 82 82 73 77 81 78 77 80 69 69 83 91 75 91 74 73 96 6 | 89 71 84 81 82 73 79 81 77 75 80 69 68 81 90 76 92 76 74 97 7 | 81 62 78 82 76 67 77 82 70 77 72 65 67 81 88 69 90 70 71 90 8 | 88 69 80 82 79 71 79 82 74 75 79 68 69 83 90 75 90 75 71 97 9 | 83 64 82 81 80 70 75 80 73 75 73 63 69 82 87 69 92 74 72 89 10 | 91 68 84 83 80 73 78 82 78 75 80 67 69 83 89 77 90 76 74 95 11 | 82 64 81 81 80 71 76 82 71 77 73 63 69 83 87 70 92 71 70 89 12 | 83 65 81 81 80 68 77 80 71 75 77 64 68 81 89 71 90 73 71 90 13 | 87 67 83 82 80 69 79 80 76 75 75 65 68 81 91 74 92 73 74 93 14 | 86 64 81 83 81 71 78 81 76 75 74 68 69 81 88 73 90 71 73 92 15 | 88 68 79 82 79 70 79 82 73 75 74 68 69 82 89 71 91 74 73 95 16 | 91 67 81 83 80 70 79 81 78 75 77 66 67 81 91 73 92 75 74 96 17 | 89 71 83 83 81 73 78 80 76 76 80 68 67 83 90 77 90 76 74 98 18 | 85 63 80 83 78 68 75 82 74 75 75 63 67 83 87 71 90 70 73 91 19 | 85 67 80 83 81 71 75 80 73 77 75 66 67 82 87 74 91 71 74 92 20 | 85 68 80 83 77 70 78 80 72 77 78 66 69 83 89 74 90 73 72 91 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a450.txt: -------------------------------------------------------------------------------- 1 | 70 88 62 85 67 85 77 89 62 73 71 85 90 72 71 59 76 55 88 73 2 | 71 91 68 86 72 85 85 92 66 74 71 86 92 76 70 62 76 60 89 73 3 | 65 86 61 83 62 82 75 85 60 70 71 84 90 73 70 54 74 54 86 69 4 | 74 91 69 83 69 84 81 91 63 73 73 85 92 73 71 60 76 60 91 71 5 | 67 86 63 85 67 82 77 88 61 70 73 83 91 71 71 55 74 58 87 72 6 | 66 83 61 82 64 82 78 84 59 71 71 84 90 70 70 54 74 54 83 71 7 | 67 86 62 82 62 82 75 84 61 73 71 84 90 70 70 57 74 56 83 69 8 | 69 89 65 83 70 82 80 90 62 74 73 83 90 71 71 58 74 55 86 70 9 | 67 88 62 83 64 84 78 86 63 72 72 85 92 74 69 55 75 56 87 69 10 | 69 88 67 83 67 86 84 89 63 72 72 86 92 74 71 59 74 57 91 70 11 | 67 83 60 83 62 82 76 86 60 70 73 82 90 73 69 54 74 54 84 69 12 | 70 91 65 86 67 85 80 93 62 73 73 83 94 73 69 61 74 57 88 73 13 | 68 87 68 84 69 85 80 91 64 71 71 83 92 73 71 60 74 59 87 69 14 | 72 93 67 86 69 85 82 94 63 73 73 84 93 73 71 60 76 60 91 73 15 | 64 84 63 82 62 84 78 84 61 73 72 85 92 70 71 54 75 55 84 70 16 | 64 85 60 83 64 81 75 84 58 71 71 82 92 70 69 54 76 56 83 69 17 | 68 91 65 86 67 85 83 91 65 74 71 86 91 73 71 57 74 56 86 69 18 | 73 90 67 85 70 86 85 90 62 71 73 85 94 74 69 62 76 59 89 72 19 | 74 91 70 86 72 86 83 94 65 74 73 86 94 76 71 60 76 58 91 71 20 | 72 90 64 83 68 83 81 88 63 74 71 83 94 72 71 60 76 60 89 71 -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/MixedCorrelated/20x20/a550.txt: -------------------------------------------------------------------------------- 1 | 92 78 92 88 50 59 85 52 96 70 66 63 80 60 91 89 51 87 63 89 2 | 94 77 93 87 52 61 89 56 98 70 69 63 81 63 92 90 52 85 63 89 3 | 91 74 92 84 48 59 86 52 95 70 63 64 80 60 89 88 50 83 59 85 4 | 95 80 94 90 50 61 87 57 99 72 68 65 83 65 95 90 55 85 61 88 5 | 96 79 93 90 52 62 87 57 99 71 71 65 84 64 93 92 56 87 62 89 6 | 89 75 92 85 51 61 83 52 95 66 64 63 78 57 90 84 47 85 61 83 7 | 91 72 92 84 50 60 85 50 94 66 65 64 79 59 90 88 49 84 61 86 8 | 91 74 94 84 50 61 88 53 98 68 66 63 80 59 90 88 50 85 61 86 9 | 92 77 92 88 50 61 86 55 95 67 68 65 81 59 90 89 54 84 62 87 10 | 93 75 92 85 52 60 85 54 95 70 67 65 79 61 90 89 50 83 63 85 11 | 98 79 94 90 52 60 89 57 99 72 71 65 83 65 94 92 56 87 63 91 12 | 88 74 92 82 48 59 83 52 92 67 63 63 79 59 86 87 48 85 59 81 13 | 96 79 92 87 48 62 89 56 98 69 67 63 83 63 94 90 52 84 62 85 14 | 89 73 94 83 48 61 84 49 92 68 63 63 81 61 89 88 49 85 59 84 15 | 94 77 93 90 50 60 89 55 99 70 68 65 83 64 93 88 52 85 61 87 16 | 91 74 92 85 49 58 83 50 93 66 64 63 80 59 88 88 49 84 59 83 17 | 89 72 92 82 48 58 84 51 96 67 66 63 79 59 88 85 48 84 62 81 18 | 88 73 92 83 49 60 83 51 95 66 66 65 79 61 86 85 49 85 62 84 19 | 92 76 92 87 48 60 83 52 97 67 65 64 81 59 92 86 49 83 60 83 20 | 96 78 94 87 52 61 87 57 98 71 70 65 82 62 92 89 55 85 60 89 -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-nahh/src/main/java/iridia/hyperheuristics/Algorithm.java: -------------------------------------------------------------------------------- 1 | package iridia.hyperheuristics; 2 | 3 | /** 4 | * Abstract class defining the required operations of the algorithms. 5 | */ 6 | public interface Algorithm { 7 | 8 | /** 9 | * Resets the algorithm. 10 | * Useful in case of restarts. 11 | */ 12 | public void reset(); 13 | 14 | /** 15 | * Reads the configuration and stores the values locally. If you change the 16 | * parameters after the constructor make sure you call this method. 17 | */ 18 | public void updateConfiguration(); 19 | 20 | /** 21 | * Performs a single step of the heuristic. 22 | * 23 | * @return current solution quality 24 | */ 25 | public double step(); 26 | 27 | /** 28 | * Performs a single step of the heuristic for a maximum time. 29 | * 30 | * @param if step is complex and can be stopped earlier stop after maxTime, 31 | * most algorithms call directly step, this is used mostly 32 | * by TunableHeuristics 33 | * @return current solution quality 34 | */ 35 | public double stepLimited(long maxTime); 36 | 37 | /** 38 | * Returns the short name of the algorithm. 39 | * 40 | * @return name of the algorithm 41 | */ 42 | @Override 43 | public String toString(); 44 | } 45 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/parsers/cfg/pep/PepException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: PepException.java 268 2007-03-21 19:25:28Z scott $ 3 | * Copyright (C) 2007 Scott Martin 4 | * 5 | * This library is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU Lesser General Public License as published by the 7 | * Free Software Foundation; either version 2.1 of the License, or (at your 8 | * option) any later version. The GNU Lesser General Public License is 9 | * distributed with this software in the file COPYING. 10 | */ 11 | package hfu.parsers.cfg.pep; 12 | 13 | 14 | /** 15 | * An exception thrown in the process of running Pep. 16 | * @author Scott Martin 17 | * @version $LastChangedRevision: 268 $ 18 | */ 19 | public class PepException extends Exception { 20 | private static final long serialVersionUID = 1L; 21 | 22 | /** 23 | * Creates a pep exception with the specified message. 24 | */ 25 | PepException(String message) { 26 | super(message); 27 | } 28 | 29 | /** 30 | * Creates a pep exception with the specified underlying cause. 31 | */ 32 | PepException(Throwable cause) { 33 | super(cause); 34 | } 35 | 36 | /** 37 | * Creates a pep exception with the specified message and cause. 38 | */ 39 | PepException(String message, Throwable cause) { 40 | super(message, cause); 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /hyflex-chesc-2011/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | // Apply the application plugin to add support for building a CLI application in Java. 3 | id 'application' 4 | } 5 | 6 | repositories { 7 | jcenter() 8 | 9 | maven { 10 | url "file://$projectDir/../maven-repo" 11 | } 12 | } 13 | 14 | dependencies { 15 | // This dependency is used by the application. 16 | implementation group: 'com.beust', name: 'jcommander', version: '1.78' 17 | // Color map 18 | implementation 'net.mahdilamb:colormap:0.9.61' 19 | // jinjava library 20 | implementation group: 'com.hubspot.jinjava', name: 'jinjava', version: '2.6.0' 21 | implementation project(':hyflex') 22 | implementation project(':hyflex-ext') 23 | implementation group: 'hyflex', name: 'chesc-ps', version: '2019.03.17' 24 | 25 | implementation 'org.seage:seage-misc:1.0.0-SNAPSHOT' 26 | // Json library 27 | implementation group: 'org.json', name: 'json', version: '20220320' 28 | 29 | // Add dependencies to HHs 30 | new File("$projectDir/../hyflex-hyperheuristics/").listFiles().each { 31 | if (it.directory && new File(it, 'build.gradle').exists()) { 32 | implementation project(":${it.name}") 33 | } 34 | } 35 | } 36 | 37 | application { 38 | // Define the main class for the application. 39 | mainClass = 'hyflex.chesc2011.launcher.Launcher' 40 | } 41 | 42 | -------------------------------------------------------------------------------- /hyflex-hyperheuristics/hyflex-hh-leangihh/src/main/java/leangihh/ExampleRun.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * An example of how to use Lean-GIHH to solve an instance of the HyFlex benchmark. 4 | * 5 | * @author Steven Adriaensen 6 | * 7 | */ 8 | package leangihh; 9 | 10 | import java.util.Date; 11 | 12 | import SAT.SAT; 13 | import AbstractClasses.HyperHeuristic; 14 | import AbstractClasses.ProblemDomain; 15 | 16 | 17 | public class ExampleRun { 18 | 19 | /** 20 | * @param args: This example takes no command line arguments 21 | */ 22 | public static void main(String[] args) { 23 | long seed = new Date().getTime(); 24 | 25 | //algorithm used (Lean-GIHH) 26 | HyperHeuristic algo = new LeanGIHH(seed); 27 | 28 | //benchmark instance solved (4th instance in the Maximum Satisfiability problem domain) 29 | ProblemDomain problem = new SAT(seed); 30 | int instance = 3; 31 | problem.loadInstance(instance); 32 | 33 | //time we're allowed to optimize (600000ms = 10min) 34 | long t_allowed = 600000; 35 | algo.setTimeLimit(t_allowed); 36 | 37 | algo.loadProblemDomain(problem); 38 | 39 | //start optimizing 40 | System.out.println("Testing "+algo+" for "+t_allowed+" ms on "+problem.getClass().getSimpleName()+"["+instance+"]..."); 41 | algo.run(); 42 | 43 | //print out quality of best solution found 44 | System.out.println(algo.getBestSolutionValue()); 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/heuristics/ModifierMutationHeuristic.java: -------------------------------------------------------------------------------- 1 | package hfu.heuristics; 2 | 3 | import hfu.BasicSolution; 4 | import hfu.BenchmarkInfo; 5 | import hfu.heuristics.modifiers.PerturbativeModifier; 6 | import hfu.heuristics.modifiers.nh.NeighbourHood; 7 | import hfu.heuristics.selector.Proposal; 8 | import hfu.heuristics.selector.Selector; 9 | 10 | public class ModifierMutationHeuristic,P extends BenchmarkInfo, N extends NeighbourHood

> extends MutationHeuristic { 11 | 12 | PerturbativeModifier modifier; 13 | Selector sel; 14 | 15 | public ModifierMutationHeuristic(Selector sel, PerturbativeModifier modifier){ 16 | this.modifier = modifier; 17 | this.sel = sel; 18 | } 19 | 20 | @Override 21 | public void init(P instance) { 22 | sel.init(instance,params); 23 | modifier.init(instance); 24 | } 25 | 26 | @Override 27 | public T apply(T c) { 28 | int iom = modifier.interpretIOM(params.getIOM(this),c); 29 | while(iom > 0){ 30 | Proposal proposal = sel.select(c,modifier,iom); 31 | iom -= proposal.nModifications; 32 | if(proposal.c_proposed != null){ 33 | c = proposal.c_proposed; 34 | }else{ 35 | break; 36 | } 37 | } 38 | return c; 39 | } 40 | 41 | 42 | @Override 43 | public boolean usesIntensityOfMutation() { 44 | return true; 45 | } 46 | 47 | 48 | 49 | 50 | } 51 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/parsers/cfg/pep/ParserEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * $Id: ParserEvent.java 327 2007-04-14 18:10:55Z scott $ 3 | * Copyright (C) 2007 Scott Martin 4 | * 5 | * This library is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU Lesser General Public License as published by the 7 | * Free Software Foundation; either version 2.1 of the License, or (at your 8 | * option) any later version. The GNU Lesser General Public License is 9 | * distributed with this software in the file COPYING. 10 | */ 11 | package hfu.parsers.cfg.pep; 12 | 13 | import java.util.EventObject; 14 | 15 | 16 | /** 17 | * Abstract class for {@link EarleyParser Earley parser} events. 18 | * @author Scott Martin 19 | * @version $LastChangedRevision: 327 $ 20 | * @see EarleyParser 21 | * @see ParserListener 22 | */ 23 | public abstract class ParserEvent extends EventObject { 24 | /** 25 | * Creates an event generated by the specified parser. 26 | * @param earleyParser The parser that generated this event. 27 | */ 28 | protected ParserEvent(EarleyParser earleyParser) { 29 | super(earleyParser); 30 | } 31 | 32 | /** 33 | * Gets the Earley parser that generated this event. 34 | * @return The Earley parser that was specified when this event was created. 35 | */ 36 | public EarleyParser getEarleyParser() { 37 | return (EarleyParser)getSource(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /hyflex-chesc-2011/src/main/java/hyflex/chesc2011/launcher/commands/CompetitionCreateHeatmapCommand.java: -------------------------------------------------------------------------------- 1 | package hyflex.chesc2011.launcher.commands; 2 | 3 | import com.beust.jcommander.JCommander; 4 | import com.beust.jcommander.Parameter; 5 | import com.beust.jcommander.Parameters; 6 | import hyflex.chesc2011.Competition; 7 | import hyflex.chesc2011.evaluation.heatmap.HyflexHeatmapGenerator; 8 | 9 | /** 10 | * Class is used for creating a heatmap using evaluated results. 11 | * 12 | * @author David Omrai 13 | */ 14 | @Parameters(commandDescription = "Create a heatmap using given evaluated results.") 15 | public class CompetitionCreateHeatmapCommand extends Command { 16 | 17 | 18 | @Parameter(names = {"--help"}, 19 | help = true, 20 | description = "Displays this help information") 21 | private boolean help; 22 | 23 | @Parameter(names = {"--id"}, 24 | required = true, 25 | description = "Name folder containing evaluated results.") 26 | public String id; 27 | 28 | public boolean isHelp() { 29 | return help; 30 | } 31 | 32 | @Override 33 | public String toString() { 34 | return "" 35 | + "\nhelp" + help 36 | + "\nid" + id; 37 | } 38 | 39 | @Override 40 | public void performCommand() throws Exception { 41 | if (help) { 42 | JCommander jc = new JCommander(this); 43 | jc.usage(); 44 | return; 45 | } 46 | HyflexHeatmapGenerator.createHeatmap(id, Competition.algorithmAuthors); 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /hyflex-ext/src/main/java/hfu/parsers/EarleyCFGParser.java: -------------------------------------------------------------------------------- 1 | package hfu.parsers; 2 | 3 | import java.util.Set; 4 | 5 | import hfu.BenchmarkInfo; 6 | import hfu.Parser; 7 | import hfu.parsers.cfg.EBNF; 8 | import hfu.parsers.cfg.MyParseTree; 9 | import hfu.parsers.cfg.MyTokenizer; 10 | import hfu.parsers.cfg.pep.Category; 11 | import hfu.parsers.cfg.pep.EarleyParser; 12 | import hfu.parsers.cfg.pep.Grammar; 13 | import hfu.parsers.cfg.pep.LLParser; 14 | import hfu.parsers.cfg.pep.Parse; 15 | import hfu.parsers.cfg.pep.ParseTree; 16 | import hfu.parsers.cfg.pep.PepException; 17 | import hfu.parsers.cfg.pep.Rule; 18 | 19 | abstract public class EarleyCFGParser

implements CFGParser

{ 20 | 21 | public P parse(String file) { 22 | //get EBNF description of the file to parse 23 | EBNF ebnf = getEBNF(); 24 | //create a token stream for the input file 25 | MyTokenizer tokenizer = new MyTokenizer(file); 26 | //actual parsing using the Early Parser (PEP library)... 27 | EarleyParser parser = new EarleyParser(ebnf.getGrammar()); 28 | Parse result = null; 29 | try { 30 | result = parser.parse(tokenizer, new Category("S")); 31 | } catch (PepException e) { 32 | e.printStackTrace(); 33 | } 34 | System.out.println(result.getStatus()); 35 | Set forest = result.getParseTrees(); 36 | return interpret(new MyParseTree(forest.iterator().next(), result.getTokens().toArray(new String[0]))); 37 | } 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/binpacking/waescher/waescherhard1.txt: -------------------------------------------------------------------------------- 1 | waescher 2 | ins 0 3 | 10000 141 4 | 2472 5 | 2371 6 | 2371 7 | 2027 8 | 2026 9 | 1962 10 | 1939 11 | 1939 12 | 1939 13 | 1864 14 | 1864 15 | 1864 16 | 1840 17 | 1743 18 | 1681 19 | 1681 20 | 1639 21 | 1554 22 | 1542 23 | 1298 24 | 1280 25 | 1280 26 | 1280 27 | 1260 28 | 1246 29 | 1246 30 | 1246 31 | 1246 32 | 1246 33 | 1230 34 | 1158 35 | 1146 36 | 1146 37 | 1146 38 | 1146 39 | 1111 40 | 1111 41 | 1111 42 | 1111 43 | 1111 44 | 1111 45 | 869 46 | 869 47 | 869 48 | 869 49 | 826 50 | 826 51 | 826 52 | 826 53 | 826 54 | 826 55 | 826 56 | 826 57 | 826 58 | 826 59 | 826 60 | 784 61 | 784 62 | 784 63 | 784 64 | 784 65 | 784 66 | 784 67 | 781 68 | 781 69 | 738 70 | 668 71 | 668 72 | 668 73 | 668 74 | 668 75 | 668 76 | 668 77 | 668 78 | 668 79 | 668 80 | 648 81 | 648 82 | 648 83 | 648 84 | 648 85 | 641 86 | 641 87 | 641 88 | 641 89 | 588 90 | 588 91 | 502 92 | 502 93 | 502 94 | 499 95 | 499 96 | 499 97 | 465 98 | 465 99 | 465 100 | 465 101 | 465 102 | 465 103 | 392 104 | 392 105 | 392 106 | 392 107 | 392 108 | 390 109 | 390 110 | 390 111 | 293 112 | 293 113 | 293 114 | 231 115 | 231 116 | 231 117 | 199 118 | 199 119 | 199 120 | 118 121 | 118 122 | 118 123 | 118 124 | 118 125 | 118 126 | 118 127 | 118 128 | 118 129 | 98 130 | 98 131 | 98 132 | 98 133 | 98 134 | 88 135 | 88 136 | 88 137 | 88 138 | 88 139 | 67 140 | 67 141 | 32 142 | 32 143 | 32 144 | 32 145 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/1.txt: -------------------------------------------------------------------------------- 1 | 54 83 15 71 77 36 53 38 27 87 76 91 14 29 12 77 32 87 68 94 2 | 79 3 11 99 56 70 99 60 5 56 3 61 73 75 47 14 21 86 5 77 3 | 16 89 49 15 89 45 60 23 57 64 7 1 63 41 63 47 26 75 77 40 4 | 66 58 31 68 78 91 13 59 49 85 85 9 39 41 56 40 54 77 51 31 5 | 58 56 20 85 53 35 53 41 69 13 86 72 8 49 47 87 58 18 68 281 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/10.txt: -------------------------------------------------------------------------------- 1 | 27 92 75 94 18 41 37 58 56 20 2 39 91 81 33 14 88 22 36 65 2 | 79 23 66 5 15 51 2 81 12 40 59 32 16 87 78 41 43 94 1 93 3 | 22 93 62 53 30 34 27 30 54 77 24 47 39 66 41 46 24 23 68 50 4 | 93 22 64 81 94 97 54 82 11 91 23 32 26 22 12 23 34 87 59 2 5 | 38 84 62 10 11 93 57 81 10 40 62 49 90 34 11 81 51 21 39 271 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/2.txt: -------------------------------------------------------------------------------- 1 | 26 38 27 88 95 55 54 63 23 45 86 43 43 40 37 54 35 59 43 50 2 | 59 62 44 10 23 64 47 68 54 9 30 31 92 7 14 95 76 82 91 37 3 | 78 90 64 49 47 20 61 93 36 47 70 54 87 13 40 34 55 13 11 5 4 | 88 54 47 83 84 9 30 11 92 63 62 75 48 23 85 23 4 31 13 98 5 | 69 30 61 35 53 98 94 33 77 31 54 71 78 9 79 51 76 56 80 721 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/3.txt: -------------------------------------------------------------------------------- 1 | 77 94 9 57 29 79 55 73 65 86 25 39 76 24 38 5 91 29 22 27 2 | 39 31 46 18 93 58 85 58 97 10 79 93 2 87 17 18 10 50 8 26 3 | 14 21 15 10 85 46 42 18 36 2 44 89 6 3 1 43 81 57 76 59 4 | 11 2 36 30 89 10 88 22 31 9 43 91 26 3 75 99 63 83 70 84 5 | 83 13 84 46 20 33 74 42 33 71 32 48 42 99 7 54 8 73 30 751 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/4.txt: -------------------------------------------------------------------------------- 1 | 53 19 99 62 88 93 34 72 42 65 39 79 9 26 72 29 36 48 57 95 2 | 93 79 88 77 94 39 74 46 17 30 62 77 43 98 48 14 45 25 98 30 3 | 90 92 35 13 75 55 80 67 3 93 54 67 25 77 38 98 96 20 15 36 4 | 65 97 27 25 61 24 97 61 75 92 73 21 29 3 96 51 26 44 56 31 5 | 64 38 44 46 66 31 48 27 82 51 90 63 85 36 69 67 81 18 81 721 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/5.txt: -------------------------------------------------------------------------------- 1 | 61 86 16 42 14 92 67 77 46 41 78 3 72 95 53 59 34 66 42 63 2 | 27 92 8 65 34 6 42 39 2 7 85 32 14 74 59 95 48 37 59 4 3 | 42 93 32 30 16 95 58 12 95 21 74 38 4 31 62 39 97 57 9 54 4 | 13 47 6 70 19 97 41 1 57 60 62 14 90 76 12 89 37 35 91 69 5 | 55 48 56 84 22 51 43 50 62 61 10 87 99 40 91 64 62 53 33 161 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/6.txt: -------------------------------------------------------------------------------- 1 | 71 27 55 90 11 18 42 64 73 95 22 53 32 5 94 12 41 85 75 38 2 | 13 11 73 43 27 33 57 42 71 3 11 49 8 3 47 58 23 79 99 23 3 | 61 25 52 72 89 75 60 28 94 95 18 73 40 61 68 75 37 13 65 7 4 | 21 8 5 8 58 59 85 35 84 97 93 60 99 29 94 41 51 87 97 11 5 | 91 13 7 95 20 69 45 44 29 32 94 84 60 49 49 65 85 52 8 581 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/7.txt: -------------------------------------------------------------------------------- 1 | 15 64 64 48 9 91 27 34 42 3 11 54 27 30 9 15 88 55 50 57 2 | 28 4 43 93 1 81 77 69 52 28 28 77 42 53 46 49 15 43 65 41 3 | 77 36 57 15 81 82 98 97 12 35 84 70 27 37 59 42 57 16 11 34 4 | 1 59 95 49 90 78 3 69 99 41 73 28 99 13 59 47 8 92 87 62 5 | 45 73 59 63 54 98 39 75 33 8 86 41 41 22 43 34 80 16 37 941 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/8.txt: -------------------------------------------------------------------------------- 1 | 34 20 57 47 62 40 74 94 9 62 86 13 78 46 83 52 13 70 40 60 2 | 5 48 80 43 34 2 87 68 28 84 30 35 42 39 85 34 36 9 96 84 3 | 86 35 5 93 74 12 40 95 80 6 92 14 83 49 36 38 43 89 94 33 4 | 28 39 55 21 25 88 59 40 90 18 33 10 59 92 15 77 31 85 85 99 5 | 8 91 45 55 75 18 59 86 45 89 11 54 38 41 64 98 83 36 61 191 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/20x5/9.txt: -------------------------------------------------------------------------------- 1 | 37 36 1 4 64 74 32 67 73 7 78 64 98 60 89 49 2 79 79 53 2 | 59 16 90 3 76 74 22 30 89 61 39 15 69 57 9 13 71 2 34 49 3 | 65 94 96 47 35 34 84 3 60 34 70 57 8 74 13 37 87 71 89 57 4 | 70 3 43 14 26 83 26 65 47 94 75 30 1 71 46 87 78 76 75 55 5 | 94 98 63 83 19 79 54 78 29 8 38 97 61 10 37 16 78 96 9 911 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 6 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/500x20/upper_lower_bounds.txt: -------------------------------------------------------------------------------- 1 | 26189 25922 2 | 26629 26353 3 | 26458 26320 4 | 26549 26424 5 | 26404 26181 6 | 26581 26401 7 | 26461 26300 8 | 26615 26429 9 | 26083 25891 10 | 26527 263154 39 72 89 3 28 75 93 53 89 1 91 38 15 43 43 66 98 64 97 84 28 50 29 92 92 88 77 71 40 65 67 48 14 69 78 98 75 43 28 91 24 60 37 89 70 59 43 79 39 91 82 99 88 87 18 39 52 53 61 74 77 15 48 57 15 41 88 89 56 29 26 23 19 83 48 12 62 39 36 24 38 74 58 5 28 51 95 57 67 69 2 11 64 3 48 20 76 38 37 10 77 97 45 16 15 70 38 79 80 16 75 32 25 73 9 73 48 9 28 21 57 21 18 31 15 45 96 47 36 42 67 59 14 48 26 54 44 95 48 63 10 99 20 81 56 49 73 16 24 98 44 55 9 84 24 88 44 23 64 84 3 71 50 20 54 39 20 80 1 20 95 75 33 42 85 37 64 98 41 96 81 22 15 40 64 19 49 41 17 75 97 6 37 6 63 76 41 2 65 31 88 53 36 25 93 89 43 59 57 96 44 64 64 18 39 2 18 23 64 19 88 28 21 30 41 83 85 35 90 41 78 92 43 4 2 66 83 14 45 43 66 23 21 10 31 26 16 39 44 56 23 86 7 68 66 70 88 94 18 62 19 87 26 23 85 95 4 22 34 21 93 47 44 40 49 23 15 52 90 9 22 80 4 95 32 28 19 83 30 59 27 11 30 14 49 12 85 51 58 95 13 54 86 24 28 15 43 39 54 18 45 83 58 36 32 85 13 89 55 14 81 50 19 54 28 45 67 86 42 25 73 13 44 73 27 33 74 39 64 98 45 49 62 46 94 39 41 57 55 43 57 92 50 75 51 11 44 35 95 93 32 38 8 36 17 72 81 20 39 82 32 50 97 96 95 80 76 52 84 49 26 43 99 92 81 19 25 81 84 50 38 48 94 58 67 83 40 5 41 10 84 43 51 41 57 68 53 99 31 92 35 90 47 32 66 39 38 72 42 51 6 50 87 1 87 80 11 23 71 50 82 30 19 14 44 51 52 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/1.txt: -------------------------------------------------------------------------------- 1 | 46 52 79 45 97 10 44 24 85 75 66 49 95 61 19 47 84 13 11 19 98 2 85 44 7 73 19 69 12 73 85 23 53 16 88 8 26 42 58 63 7 2 44 38 24 76 85 61 32 90 2 | 61 87 51 25 73 93 28 90 94 59 64 2 16 35 53 40 81 26 85 4 4 10 63 96 55 71 66 94 7 15 11 99 37 50 56 69 22 56 67 63 96 74 4 42 40 30 93 36 25 87 3 | 3 1 58 85 33 71 58 56 64 43 48 69 96 35 82 53 64 11 61 36 53 87 88 10 32 38 25 24 90 7 11 49 2 76 17 32 39 9 83 69 67 28 88 23 91 71 3 26 41 96 4 | 51 24 21 57 69 51 50 51 21 19 63 91 11 6 31 63 36 39 57 47 56 65 59 4 10 12 62 43 49 54 87 29 2 18 75 39 77 69 15 78 68 37 22 41 92 67 24 87 91 31 5 | 37 16 42 47 94 14 94 34 72 36 88 51 41 71 94 99 11 97 44 77 69 91 38 25 87 7 66 54 86 49 3 48 44 93 37 82 31 59 78 33 36 3 58 10 98 6 44 62 24 94 6 | 79 93 68 75 37 44 34 39 76 62 74 28 78 43 98 83 91 27 6 82 60 44 43 76 99 66 11 35 52 8 40 62 25 24 30 1 73 27 16 91 33 11 99 2 60 90 36 62 15 3 7 | 83 87 38 38 86 67 23 19 97 78 66 67 7 23 67 8 77 71 85 29 49 3 94 76 95 48 4 37 82 57 61 6 97 5 27 95 46 92 46 52 8 11 7 54 72 57 85 22 87 65 8 | 22 29 99 25 98 55 80 82 33 68 47 74 26 61 95 55 11 42 72 14 8 98 90 36 75 69 26 24 55 98 86 30 92 94 66 47 3 41 41 47 89 28 39 80 47 57 74 38 59 5 9 | 27 92 75 94 18 41 37 58 56 20 2 39 91 81 33 14 88 22 36 65 79 23 66 5 15 51 2 81 12 40 59 32 16 87 78 41 43 94 1 93 22 93 62 53 30 34 27 30 54 77 10 | 24 47 39 66 41 46 24 23 68 50 93 22 64 81 94 97 54 82 11 91 23 32 26 22 12 23 34 87 59 2 38 84 62 10 11 93 57 81 10 40 62 49 90 34 11 81 51 21 39 27 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/10.txt: -------------------------------------------------------------------------------- 1 | 18 77 73 91 96 10 58 70 42 21 11 88 91 78 70 53 51 96 27 47 30 37 63 61 73 80 5 82 49 11 79 78 57 47 91 92 94 33 52 12 37 47 39 4 50 90 58 46 14 84 2 | 97 49 33 48 68 36 66 6 54 16 7 35 64 18 8 61 41 65 71 34 35 92 70 65 76 71 81 32 27 95 49 51 65 17 91 23 17 19 28 70 67 40 81 54 52 38 6 8 31 98 3 | 14 17 31 37 85 84 7 54 40 95 97 44 4 46 10 63 76 23 95 73 78 46 40 34 92 42 56 4 63 93 72 63 62 30 91 96 53 19 40 14 16 66 54 54 64 86 31 99 10 2 4 | 74 29 77 14 30 14 48 1 4 71 54 30 42 43 33 32 12 68 8 82 27 59 20 60 76 44 29 68 24 46 94 79 68 49 85 87 17 99 76 81 52 24 57 8 36 67 57 66 5 69 5 | 75 43 70 11 64 88 94 9 29 58 90 78 63 34 71 49 69 97 10 43 22 16 31 22 62 14 11 46 85 59 73 22 70 52 70 45 45 37 2 90 2 40 70 93 44 71 83 13 3 99 6 | 27 98 62 17 35 71 94 58 77 29 61 41 47 2 16 41 59 27 18 33 1 99 3 15 45 82 20 11 90 65 73 71 26 97 50 43 7 78 27 50 70 65 96 27 66 18 96 66 82 23 7 | 69 28 95 38 89 19 6 52 70 4 81 1 36 30 13 90 30 66 28 36 38 48 97 56 92 93 81 24 38 39 33 7 75 43 92 44 35 2 96 28 13 67 61 71 20 54 53 75 58 74 8 | 65 21 60 72 4 85 47 80 71 26 73 36 38 13 66 82 2 76 29 90 36 32 84 78 94 45 14 72 3 18 58 87 30 73 71 5 77 60 6 61 23 29 2 67 69 38 37 80 51 34 9 | 89 41 16 7 84 53 56 71 40 17 33 3 51 76 2 63 84 55 3 82 46 58 24 57 59 86 39 55 69 36 98 82 44 70 67 74 61 38 87 35 37 98 26 49 12 52 49 92 43 75 10 | 83 3 99 87 60 92 75 53 30 59 95 85 63 21 78 72 87 52 39 93 22 82 21 65 81 59 73 74 33 53 47 69 11 31 69 67 3 21 29 28 45 2 53 36 5 79 76 32 87 4 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/2.txt: -------------------------------------------------------------------------------- 1 | 12 72 18 85 42 76 13 82 35 33 76 19 94 93 64 82 60 8 66 56 40 11 12 20 61 72 52 62 85 67 67 68 18 10 1 92 66 22 95 59 79 25 43 51 69 27 33 76 12 19 2 | 13 64 7 60 75 75 63 87 93 73 5 18 75 20 30 99 19 70 55 11 78 66 92 57 91 56 1 17 61 51 3 72 72 21 2 36 42 59 12 31 72 39 99 9 68 27 22 60 28 66 3 | 82 52 72 81 61 36 10 62 11 46 42 32 39 44 95 10 96 55 67 86 75 58 10 65 9 22 56 34 98 82 65 68 49 98 36 51 19 68 24 35 8 9 69 73 49 29 36 10 9 1 4 | 20 77 63 28 77 34 96 88 20 26 4 30 40 18 36 98 24 70 66 15 96 29 74 39 16 72 92 9 10 45 32 9 46 83 63 58 77 26 88 78 79 37 13 39 75 60 58 2 70 9 5 | 91 33 5 51 30 20 26 53 91 40 52 55 9 33 32 17 77 30 37 79 68 31 17 7 19 19 62 3 99 94 62 24 2 99 7 93 1 27 20 97 81 23 75 16 21 47 68 41 54 58 6 | 25 61 58 52 81 33 64 14 67 3 32 78 55 26 79 92 57 90 68 73 57 55 19 47 86 26 96 45 4 17 9 60 23 54 42 30 78 43 80 43 7 27 23 55 66 90 63 38 65 82 7 | 47 77 47 57 2 77 45 69 19 70 97 61 61 15 16 82 44 17 37 51 23 67 34 45 42 23 56 59 80 18 18 67 23 41 98 48 85 29 80 43 93 28 98 73 5 6 88 36 20 24 8 | 77 21 8 36 49 86 50 60 26 7 11 76 33 74 68 10 2 54 58 82 14 9 10 48 90 89 3 20 24 67 90 19 72 59 94 84 59 43 81 38 62 85 85 84 71 31 39 40 41 40 9 | 6 63 56 63 75 56 22 89 29 33 46 96 52 43 60 87 46 85 84 54 74 19 82 19 58 6 85 82 2 16 75 52 13 1 43 85 73 79 91 51 1 46 3 26 15 22 18 8 20 32 10 | 6 11 27 71 4 73 16 63 85 92 57 90 49 75 15 64 44 10 78 80 92 18 70 22 22 78 6 86 94 45 57 80 96 94 5 28 50 52 49 31 66 30 11 14 45 32 31 6 95 95 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/3.txt: -------------------------------------------------------------------------------- 1 | 66 46 25 30 17 40 17 20 73 5 60 3 91 34 81 58 48 71 57 5 8 19 78 2 1 78 8 14 46 98 50 88 28 66 43 23 93 52 1 77 54 45 56 54 57 23 18 88 38 72 2 | 55 63 71 21 74 65 52 91 12 22 12 26 97 30 30 12 94 46 20 73 58 10 77 27 33 53 23 2 65 35 7 54 43 87 56 4 29 35 37 53 10 90 95 85 2 36 85 5 3 45 3 | 65 35 49 2 95 14 67 8 62 25 2 40 68 75 72 5 5 10 33 56 89 54 31 1 61 25 11 7 88 65 74 16 87 57 89 85 46 54 23 23 96 79 70 33 50 18 65 87 18 15 4 | 57 72 48 6 10 98 55 71 19 28 31 79 69 11 4 12 71 62 2 95 35 82 57 7 24 62 70 89 87 21 54 16 72 31 24 94 18 83 36 73 67 74 75 93 16 74 70 16 81 93 5 | 58 66 5 69 38 93 59 56 26 96 60 18 74 93 12 56 36 71 38 96 84 84 65 17 78 45 83 53 60 60 9 7 51 85 66 6 3 93 88 40 85 92 15 51 55 19 58 84 4 23 6 | 38 23 13 1 10 76 49 2 81 43 51 71 29 44 26 27 27 56 21 76 88 9 33 6 40 64 5 5 7 5 76 63 35 94 65 25 6 87 60 33 67 81 93 98 9 94 49 27 62 90 7 | 5 13 36 54 76 40 67 31 35 48 85 41 82 95 15 24 77 6 79 36 18 21 34 42 74 46 1 88 29 95 67 41 98 31 25 70 62 45 59 68 22 81 44 80 88 25 93 61 1 97 8 | 26 40 84 84 74 39 65 15 71 92 44 27 93 2 55 44 55 23 25 1 51 12 47 98 41 18 44 72 88 60 29 99 2 17 79 6 29 89 4 70 10 79 64 92 42 79 56 94 26 93 9 | 66 41 74 62 70 30 66 11 51 43 32 23 20 1 54 55 65 22 99 97 21 63 45 70 41 6 70 33 97 32 28 54 63 16 12 2 50 48 34 75 45 2 39 4 46 11 66 59 28 74 10 | 93 95 48 71 30 22 3 22 82 35 56 14 88 41 4 52 17 95 15 85 12 11 24 71 46 59 16 33 53 22 49 44 76 88 45 52 31 66 17 68 99 78 87 45 78 51 87 4 45 95 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/4.txt: -------------------------------------------------------------------------------- 1 | 49 10 30 85 7 23 56 93 5 34 72 78 25 31 73 69 18 15 39 2 55 33 24 19 19 97 98 49 95 71 2 55 37 73 91 58 33 78 60 53 38 53 90 30 14 53 87 51 25 50 2 | 76 91 51 55 32 26 37 21 58 26 19 65 52 36 89 95 51 56 21 35 90 26 83 37 59 3 44 42 57 45 36 90 71 37 69 27 13 16 32 53 59 8 98 65 50 85 78 38 55 89 3 | 60 39 94 82 28 52 87 19 58 52 63 28 44 80 88 21 36 64 75 6 41 4 5 77 75 91 88 22 8 97 58 72 45 55 12 35 95 95 56 53 48 61 46 29 85 1 75 25 39 92 4 | 40 56 89 53 26 38 15 3 75 4 48 86 28 51 62 46 43 1 52 19 85 37 73 25 35 79 88 29 7 18 26 63 41 20 97 80 15 47 29 46 78 16 67 44 23 47 98 97 49 65 5 | 32 5 49 51 33 97 74 48 9 65 38 71 38 76 43 8 66 62 18 13 16 64 18 87 86 29 9 96 40 78 78 63 13 47 31 97 5 86 51 46 56 69 50 27 60 48 74 91 92 80 6 | 17 43 13 20 41 94 18 28 8 71 82 42 90 76 62 95 74 80 33 91 35 80 79 68 97 98 3 22 52 80 32 75 78 36 46 16 36 93 39 19 95 91 49 35 93 11 93 6 96 19 7 | 33 98 67 81 43 72 32 66 97 36 36 67 1 47 87 12 91 21 6 6 1 38 69 77 3 75 64 53 18 10 97 18 48 70 60 75 94 14 53 90 19 42 86 15 58 7 65 40 51 61 8 | 98 90 4 39 79 76 53 77 10 2 97 31 62 28 74 60 53 74 88 11 88 92 7 80 67 27 21 43 59 30 17 4 7 21 83 44 70 30 39 35 8 6 92 39 55 34 98 47 99 16 9 | 90 93 35 65 66 10 48 81 27 49 61 73 60 88 42 62 28 55 58 55 90 61 73 3 74 94 30 81 9 87 58 42 59 48 29 83 60 83 76 43 90 14 84 10 15 38 90 80 19 15 10 | 75 68 39 71 31 43 5 32 6 56 56 72 23 95 50 53 27 8 18 81 57 54 99 20 10 19 18 53 73 10 74 93 22 75 84 9 27 32 51 83 70 13 1 81 13 98 58 28 3 21 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/5.txt: -------------------------------------------------------------------------------- 1 | 16 90 63 73 57 17 29 16 94 47 24 39 2 5 75 7 74 96 94 44 63 38 22 76 2 11 71 94 77 57 45 58 16 96 41 52 57 39 74 35 52 42 82 43 47 34 96 13 33 58 2 | 13 27 27 9 88 3 29 96 39 15 61 76 79 67 6 61 32 76 96 59 85 36 23 72 71 44 88 58 51 73 10 85 16 41 40 57 85 73 9 24 94 4 96 37 84 2 94 21 4 73 3 | 42 21 21 90 54 64 55 93 1 36 16 7 98 20 83 77 39 63 72 47 21 98 97 86 7 81 5 56 57 15 7 85 77 14 23 10 93 57 58 31 92 6 37 77 80 41 18 68 81 41 4 | 37 43 87 77 39 35 49 66 35 2 38 73 28 97 20 46 85 53 78 73 72 82 59 24 6 94 67 66 30 33 32 51 38 8 82 63 77 73 66 65 75 17 22 34 3 8 87 50 76 16 5 | 68 3 58 57 49 13 72 13 13 5 88 38 82 41 61 85 81 53 65 89 50 78 38 82 38 38 85 55 64 47 87 66 5 16 48 29 67 72 5 79 30 64 3 80 11 99 32 25 84 12 6 | 24 1 57 86 35 9 55 8 93 11 39 10 84 80 59 37 80 69 13 19 25 92 45 14 73 85 75 96 33 17 76 96 4 16 9 66 46 64 3 93 74 29 68 38 86 90 50 11 64 4 7 | 51 57 82 47 82 14 79 57 88 79 22 72 58 78 18 48 72 38 71 82 61 73 50 56 95 16 6 7 86 21 27 44 64 32 46 37 39 96 44 70 41 56 44 27 41 66 87 42 7 54 8 | 8 54 15 47 73 33 73 35 45 75 83 12 59 95 96 75 62 44 43 30 47 36 65 85 1 71 13 54 2 82 16 15 14 49 68 28 87 85 90 17 54 59 25 23 60 60 68 70 80 4 9 | 59 85 73 87 87 89 48 57 59 73 66 95 61 13 79 88 19 18 21 33 11 8 8 83 13 89 63 64 53 28 17 2 77 61 73 69 23 56 78 65 85 99 52 78 8 58 51 43 52 41 10 | 67 99 57 47 93 35 32 77 28 75 95 15 18 97 37 53 97 73 60 39 48 9 17 83 10 2 66 50 36 45 86 8 47 52 98 22 55 62 23 82 32 20 38 23 40 55 79 66 97 29 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/6.txt: -------------------------------------------------------------------------------- 1 | 65 4 10 87 31 52 35 89 28 45 24 68 94 71 70 2 83 85 97 65 64 38 54 26 40 75 59 38 40 89 64 84 47 62 74 38 79 57 8 46 27 28 62 34 18 63 74 26 28 78 2 | 55 99 12 40 7 8 14 68 4 63 27 61 65 7 14 16 3 31 56 67 74 59 81 43 57 11 32 21 73 75 46 34 50 47 22 81 42 4 49 24 54 29 87 38 19 65 23 77 71 90 3 | 87 72 33 50 77 83 89 90 26 93 8 86 39 13 59 99 98 76 52 43 79 64 4 19 45 80 15 43 37 49 36 33 83 28 46 71 59 15 50 53 51 56 76 48 11 35 88 59 51 13 4 | 38 19 37 75 8 63 91 38 92 25 19 42 89 80 11 84 33 42 51 18 56 83 49 14 1 23 72 24 63 15 33 93 5 78 33 91 56 99 29 15 54 46 2 90 96 93 3 53 97 51 5 | 38 90 23 59 15 72 63 48 94 12 63 46 60 72 33 50 25 14 20 50 32 87 42 70 92 10 75 57 30 45 91 20 32 9 72 11 5 17 66 17 92 10 93 36 40 74 99 86 29 70 6 | 22 63 63 38 53 73 37 68 38 10 74 27 84 65 40 97 82 98 50 23 66 56 30 27 36 19 28 66 70 79 21 26 81 61 19 91 43 34 85 73 82 15 65 42 48 28 25 84 37 88 7 | 34 88 4 98 83 76 89 22 23 70 69 30 11 89 79 29 52 68 14 99 4 3 4 33 98 44 34 13 78 15 25 35 16 37 69 82 13 51 48 53 13 46 39 1 72 28 20 90 84 38 8 | 99 59 6 45 6 27 31 95 91 94 21 72 65 41 9 56 33 98 11 51 7 94 43 47 77 89 53 34 79 85 4 12 99 80 42 89 85 46 4 58 17 98 71 81 26 80 70 49 24 41 9 | 81 51 80 55 52 64 2 59 88 11 68 16 75 94 43 23 5 53 76 60 51 96 50 38 28 8 70 51 77 83 71 41 60 25 38 97 13 5 58 22 17 51 52 15 1 99 62 72 45 90 10 | 50 99 94 1 73 58 1 8 41 97 67 1 58 73 62 9 88 6 34 5 59 16 13 80 54 96 48 72 96 91 49 92 3 45 28 37 51 96 88 83 24 58 21 25 12 85 58 48 37 3 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/7.txt: -------------------------------------------------------------------------------- 1 | 29 28 63 73 99 55 79 82 2 45 45 41 26 87 52 10 42 72 59 45 54 71 44 49 78 7 57 10 63 73 91 22 63 98 92 91 28 86 76 36 29 5 77 81 73 65 72 61 32 61 2 | 39 38 12 83 98 31 37 48 59 28 91 88 51 62 99 43 7 10 77 35 28 98 17 75 82 89 48 60 26 52 65 10 27 25 6 96 16 57 98 38 66 91 70 83 49 7 54 25 6 87 3 | 19 6 72 73 43 3 47 34 28 32 7 29 89 84 33 95 64 9 44 23 45 68 88 96 56 43 11 95 94 99 56 3 2 23 75 17 46 83 98 30 23 77 12 12 15 70 78 13 22 90 4 | 98 38 80 84 28 15 46 67 78 39 85 93 22 22 36 67 7 83 78 68 75 7 65 23 32 13 38 51 79 50 25 83 6 16 36 16 43 66 79 40 8 71 77 31 83 31 76 9 45 76 5 | 20 79 35 67 65 20 30 23 85 55 32 45 94 84 48 56 46 90 73 2 8 62 49 86 97 34 2 19 66 23 1 26 47 10 75 39 18 57 95 70 11 42 9 61 81 75 94 31 48 88 6 | 58 44 53 11 92 50 37 57 14 64 63 16 9 97 86 87 77 20 60 83 72 29 3 27 33 3 41 61 63 52 69 97 45 4 72 19 66 35 43 72 28 46 73 12 74 41 59 42 47 23 7 | 59 66 35 61 70 17 98 40 46 88 93 11 33 65 15 67 41 1 90 8 16 12 86 71 53 13 32 64 53 51 58 95 6 93 47 22 83 4 17 17 86 16 59 43 1 18 87 27 94 57 8 | 59 60 72 54 97 71 43 92 71 53 28 97 55 91 33 12 12 36 73 78 7 3 4 87 84 16 12 84 2 34 9 98 83 98 70 3 76 16 49 27 20 24 61 48 49 34 97 92 62 81 9 | 76 72 23 74 99 74 71 27 81 75 47 90 17 59 91 27 69 29 79 95 20 88 54 46 46 82 50 10 53 69 25 2 29 51 12 65 85 48 73 1 4 46 80 72 96 47 22 9 90 58 10 | 77 34 66 3 52 3 51 89 78 62 40 8 32 37 14 80 10 43 87 27 85 36 11 27 9 16 57 87 58 25 52 92 67 1 69 37 93 20 21 53 37 98 68 74 7 64 24 85 31 51 11 | -------------------------------------------------------------------------------- /hyflex/src/main/resources/data/flowshop/50x10/8.txt: -------------------------------------------------------------------------------- 1 | 56 78 92 66 30 26 16 48 30 97 54 62 23 43 21 98 19 17 80 56 32 86 85 88 77 15 48 11 33 72 69 74 48 50 41 88 50 13 74 16 91 40 59 28 61 34 7 22 63 69 2 | 13 78 8 69 42 11 70 21 53 88 2 69 37 78 69 97 53 51 31 76 3 20 32 29 36 34 89 43 48 68 52 39 12 50 48 50 73 99 10 89 13 85 50 52 39 60 89 91 76 28 3 | 24 79 83 40 97 36 61 48 24 71 75 2 26 13 68 32 58 84 19 10 6 79 69 37 13 35 97 45 72 80 24 30 89 72 85 17 35 13 80 50 4 60 55 82 5 93 38 75 40 46 4 | 36 31 87 52 20 86 70 78 99 76 56 71 45 10 34 81 77 92 34 35 5 28 73 65 71 47 98 7 42 71 54 7 90 14 15 63 19 90 72 66 58 60 66 11 83 9 85 68 79 94 5 | 39 33 9 67 41 61 17 76 31 39 25 9 69 75 42 53 26 29 15 41 32 24 63 23 95 88 40 25 12 12 9 69 28 78 1 23 79 25 15 18 3 80 41 15 94 96 6 52 59 51 6 | 26 37 18 42 47 26 30 62 41 59 14 96 31 19 22 80 57 88 73 94 49 7 33 56 81 38 13 14 62 58 5 9 91 16 38 7 94 43 66 94 54 12 34 80 6 72 40 38 36 86 7 | 67 44 73 89 53 57 60 52 42 80 42 45 37 73 44 73 5 78 89 20 94 82 42 31 1 9 5 51 21 31 54 1 3 4 58 30 10 55 6 23 29 63 71 91 94 68 46 12 89 50 8 | 73 48 89 44 56 87 89 72 67 65 97 45 2 68 39 6 24 88 96 17 11 67 81 99 22 26 1 23 41 38 36 50 59 92 55 78 77 25 25 20 87 32 12 52 33 90 81 40 67 84 9 | 53 81 50 4 36 76 10 8 17 28 3 80 14 6 32 20 17 67 67 52 39 93 46 76 78 87 16 19 82 80 28 97 60 8 40 44 72 97 10 4 15 95 4 63 68 28 50 31 38 65 10 | 97 80 16 40 45 64 36 44 98 82 66 69 44 55 68 84 77 77 28 45 9 23 23 28 19 91 75 6 60 12 61 35 81 51 94 57 65 5 26 34 61 63 72 14 43 3 94 54 13 89 11 | --------------------------------------------------------------------------------