public class Instances extends Object
| Constructor and Description |
|---|
Instances() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<BenchmarkInstance> |
getAllChristofides(String inputFolder)
Returns a collection of
BenchmarkInstance which are Christofides vrpnc instances. |
static Collection<BenchmarkInstance> |
getAllCordeauP(String inputFolder)
Returns a collection of
BenchmarkInstance which are Cordeau's p instances. |
static Collection<BenchmarkInstance> |
getAllCordeauPR(String inputFolder)
Returns a collection of
BenchmarkInstance which are Cordeau's pr instances. |
static Collection<BenchmarkInstance> |
getAllSolomonC1(String inputFolder)
Returns a collection of
BenchmarkInstance which are Solomon instances. |
static Collection<BenchmarkInstance> |
getAllSolomonC2(String inputFolder)
Returns a collection of
BenchmarkInstance which are Solomon instances. |
static Collection<BenchmarkInstance> |
getAllSolomonR1(String inputFolder)
Returns a collection of
BenchmarkInstance which are Solomon instances. |
static Collection<BenchmarkInstance> |
getAllSolomonR2(String inputFolder)
Returns a collection of
BenchmarkInstance which are Solomon instances. |
static Collection<BenchmarkInstance> |
getAllSolomonRC1(String inputFolder)
Returns a collection of
BenchmarkInstance which are Solomon instances. |
static Collection<BenchmarkInstance> |
getAllSolomonRC2(String inputFolder)
Returns a collection of
BenchmarkInstance which are Solomon instances. |
public static Collection<BenchmarkInstance> getAllCordeauP(String inputFolder)
BenchmarkInstance which are Cordeau's p instances.
Note that this assumes that within the folder 'inputFolder' 23 p-instances are located with their original name, i.e. p01,p02,...,p23.
It also assumes that solution files are also located in inputFolder ending with .res
inputFolder - where cordeau's p instances are located. It must end without '/' such as instances/cordeau.BenchmarkInstancepublic static Collection<BenchmarkInstance> getAllCordeauPR(String inputFolder)
BenchmarkInstance which are Cordeau's pr instances.
Note that this assumes that within the folder 'inputFolder' 10 p-instances are located with their original name, i.e. pr01,pr02,...,pr10.
It also assumes that solution files are also located in inputFolder ending with .res
inputFolder - inputFolder - where cordeau's pr instances are located. It must end without '/' such as instances/cordeau.BenchmarkInstancepublic static Collection<BenchmarkInstance> getAllChristofides(String inputFolder)
BenchmarkInstance which are Christofides vrpnc instances.
Note that this assumes that within the folder 'inputFolder' 14 vrpnc-instances are located with their original name, i.e. vrpnc1,vrpnc2,...,vrpnc14.
inputFolder - where christofides vrpnc instances are located. It must end without '/' such as instances/christofides.BenchmarkInstancepublic static Collection<BenchmarkInstance> getAllSolomonC1(String inputFolder)
BenchmarkInstance which are Solomon instances.
Note that this assumes that within the folder 'inputFolder' 9 C1-instances are located with their original name, i.e. C101.txt,C102.txt,...,C109.txt.
Note that unlike the original problems, a fixed-cost value of 1000 is set for each employed vehicle.
inputFolder - where solomon C1 instances are located. It must end without '/' such as instances/solomon.BenchmarkInstancepublic static Collection<BenchmarkInstance> getAllSolomonC2(String inputFolder)
BenchmarkInstance which are Solomon instances.
Note that this assumes that within the folder 'inputFolder' 8 C2-instances are located with their original name, i.e. C201.txt,C202.txt,...,C208.txt.
Note that unlike the original problems, a fixed-cost value of 1000 is set for each employed vehicle.
inputFolder - where solomon C2 instances are located. It must end without '/' such as instances/solomon.BenchmarkInstancepublic static Collection<BenchmarkInstance> getAllSolomonR1(String inputFolder)
BenchmarkInstance which are Solomon instances.
Note that this assumes that within the folder 'inputFolder' 12 R1-instances are located with their original name, i.e. R101.txt,R102.txt,...,R112.txt.
Note that unlike the original problems, a fixed-cost value of 1000 is set for each employed vehicle.
inputFolder - where solomon R1 instances are located. It must end without '/' such as instances/solomon.BenchmarkInstancepublic static Collection<BenchmarkInstance> getAllSolomonR2(String inputFolder)
BenchmarkInstance which are Solomon instances.
Note that this assumes that within the folder 'inputFolder' 11 R1-instances are located with their original name, i.e. R201.txt,R202.txt,...,R111.txt.
Note that unlike the original problems, a fixed-cost value of 1000 is set for each employed vehicle.
inputFolder - inputFolder - where solomon R2 instances are located. It must end without '/' such as instances/solomon.BenchmarkInstancepublic static Collection<BenchmarkInstance> getAllSolomonRC1(String inputFolder)
BenchmarkInstance which are Solomon instances.
Note that this assumes that within the folder 'inputFolder' 8 RC1-instances are located with their original name, i.e. RC101.txt,RC102.txt,...,RC108.txt.
Note that unlike the original problems, a fixed-cost value of 1000 is set for each employed vehicle.
inputFolder - where solomon RC1 instances are located. It must end without '/' such as instances/solomon.BenchmarkInstancepublic static Collection<BenchmarkInstance> getAllSolomonRC2(String inputFolder)
BenchmarkInstance which are Solomon instances.
Note that this assumes that within the folder 'inputFolder' 8 RC2-instances are located with their original name, i.e. RC201.txt,RC202.txt,...,RC208.txt.
Note that unlike the original problems, a fixed-cost value of 1000 is set for each employed vehicle.
inputFolder - inputFolder - where solomon RC2 instances are located. It must end without '/' such as instances/solomon.BenchmarkInstanceCopyright © 2013–2020. All rights reserved.