ec2017's Introduction
This assignment was completed by: Fergus Dall - a1650047 - [email protected] Patrick Prendergast - a1722797 - [email protected] Shuo Yan - a1681660 - [email protected] Chao Lu - a1699138 - [email protected] The folder this file is in is the eclipse project for the assignment, so the simplest way to build the project is to import it as an eclipse project. The main entry point for the program is in ./src/TTPSolver.java. When run, the project will load the EA parameters in config.properties and run the algorithm. This file contains comments describing what options can be configured. Input is taken from the files in ./TTPdata. Output will be generated in ./output. Driver.java is the entry of exercise 2 which is about the dynamic Items. Class OptimisationofDynamicItems is the main class of exercise 2 of Dynamic items.The dynamic benchmarks would be created at the first run. Have to choose benchmark 1 or 2 manually in line 15 of class OptimisationofDynamicItems.
ec2017's People
ec2017's Issues
OriginalFPSParentSelectionMethod doesn't use cumulative weights
When FPSP calculates the probability of acceptance, it does weight[i] = population.get(i).getFitness() / sumOfFitness
. This needs to be cumulative, otherwise it's not actually picking individuals at a rate proportional to fitness.
CrossOverEdgeRecom edgeTable issue
For some reason the following code exhausts the edgeTable 1 entry short of completion.
Can't see any obvious reason for the error, but it's crashing on the eil101 dataset.
Line 44-55
while (child.size() < parentA.size()) {
child.add(current);
// Remove current symbol from edge table
for (Symbol key : edgeTable.keySet()) {
while (edgeTable.get(key).remove(current)) {
}
}
Symbol next = pickNext(edgeTable, current);
edgeTable.remove(current);
current = next;
}
Crossover operations should create two children
All the descriptions given in the lecture slides about crossover operations imply that each operation creates two children. Currently the interface for crossover operations only allows for returning a single child. Do we want to change this?
EDIT: Except Edge Recombination.
EDIT2: See the new branch I just pushed
CrossOverPMX exit condition not met on loop in mapRemainder
Gets stuck in this loop:
private void mapRemainder(List parent, List child, int start) {
for (int i = start; child.contains(null); i = (i+1)%child.size())
{
Symbol toPlace = parent.get(i);
if (child.contains(toPlace)) {
continue;
}
int toPlaceIndex = i;
while (child.get(i) != null) {
Symbol tracking = child.get(i);
toPlaceIndex = parent.indexOf(tracking);
}
}
}
Error with standard deviation output
Not sure why, please have a look if you're better than me at stats.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.