Giter Site home page Giter Site logo

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

Contributors

a1722797 avatar charlesloo avatar fergus-dall avatar yanshuo1992 avatar

Watchers

 avatar  avatar  avatar  avatar

ec2017's Issues

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);
        }
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.