Code Monkey home page Code Monkey logo

heat-treatment's Introduction

Heat Treatment Optimisation Project

The Heat Treatment Optimisation Project contains a series of datasets which are currently being examined by Dr Stathis Tingas at Edinburgh Napier University which explores what happens when certain processes are applied to materials. The project itself consists of five datasets (Plastic Anisotropy, Tensile Strength, Total Elongation, Vickers Hardness and Yield Strength) where the data contained within them is represented in three dimensions. The first is time, the second is temperature, and the third is a value that has been normalised between 1 and 0, detailed within the dataset.

The objective function is the euclidean distance of the time (t) and temperature (T), which is given as below.

(https://latex.codecogs.com/svg.image?E(t,&space;T)=\sqrt{\sum_{i=0}^{n_{\textrm{space}}}\left(t_i-T_i\right)^2})

Installation

The evolutionary algorithm was developed in Java 19 and the project can be compiled by using Maven to have the code deployed on to a computer of higher specification. For ease, it is recommended that the project is opened in an Integrated Development Environment (IDE) such as IntelliJ Idea provided by JetBrains.

Usage

Most notably, the project contains a rather handy Parameters file, which controls how the code will execute upon compilation. There is an abridged version of this file below in the following code block.

/* Control how the evolutionary algorithm initialises the population.
 * Possible values:
 *  - AUGMENTED
 *  - RANDOM
 */
public static Initialisation INITIALISATION = Initialisation.AUGMENTED;

/* Control how the evolutionary algorithm controls the selection process.
 * Possible values:
 *  - RANDOM
 *  - ROULETTE
 *  - ROUTE_RANK
 *  - TOURNAMENT
 */
public static Selection SELECTION = Selection.ROULETTE;

/* Control how the evolutionary algorithm controls the crossover process.
 * Possible values:
 *  - ARITHMETIC
 *  - ONE_POINT
 *  - TWO_POINT
 *  - UNIFORM
 */
public static Crossover CROSSOVER = Crossover.UNIFORM;

/* Control how the evolutionary algorithm controls the mutation process.
 * Possible values:
 *  - CONSTRAINED
 *  - STANDARD
 */
public static Mutation MUTATION = Mutation.CONSTRAINED;

/* Control how the evolutionary algorithm controls the replacement process.
 * Possible values:
 *  - TOURNAMENT
 *  - WORST
 */
public static Replacement REPLACEMENT = Replacement.WORST;

/* Control how the evolutionary algorithm evaluates the chromosomes.
 * Possible values:
 *  - MINIMISATION
 *  - MAXIMISATION
 */
public static ProblemType PROBLEM = ProblemType.MINIMISATION;

// The tournament size for the selection and replacement process.
public static int TOURNAMENT_SIZE = 10;

// The file that is to be read in by the evolutionary algorithm.
public static String FILE_NAME = "plastic-anisotropy.csv";

// The default population size.
public static int POPULATION_SIZE = 300;

// The augmented population size when using augmented initialisation.
public static int AUGMENTED_POPULATION_SIZE = 15750;

// The maximum number of evaluations/generations.
public static int MAXIMUM_EVALUATIONS = 20000;


// Parameters for mutation
// Rate = probability of changing a gene
// Change = the maximum +/- adjustment to the gene value
public static double MUTATION_RATE = 0.90; // mutation rate for mutation operator
public static double MUTATION_CHANGE = 1.50; // delta change for mutation operator

Contributing

Pull requests are welcome! All we ask is, credit goes to the authors and contributors of this project:
Dr Stathis Tingas: [email protected], Lecturer of Mathematics
Dr Neil Urquhart: [email protected], Lecturer of Computer Science
Stewart Anderson: [email protected], PhD Candidate
Robert Galloway: [email protected], Research Assistant

heat-treatment's People

Contributors

refracc avatar

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.