1 | /*
|
---|
2 | * Class Maximization
|
---|
3 | * IDENTICAL TO class Maximisation - created simply to accommodate alternate spelling
|
---|
4 | *
|
---|
5 | * Contains methods for finding the values of the
|
---|
6 | * function parameters that maximize that function
|
---|
7 | * using the Nelder and Mead Simplex method.
|
---|
8 | *
|
---|
9 | * The function needed by the maximization method
|
---|
10 | * is supplied through the interface, MaximizationFunction
|
---|
11 | *
|
---|
12 | * WRITTEN BY: Dr Michael Thomas Flanagan
|
---|
13 | *
|
---|
14 | * DATE: 29 December 2005 (adapted from Minimisation)
|
---|
15 | * UPDATES: 28 December 2007, 10/12 May 2008
|
---|
16 | *
|
---|
17 | * DOCUMENTATION:
|
---|
18 | * See Michael Thomas Flanagan's Java library on-line web page:
|
---|
19 | * http://www.ee.ucl.ac.uk/~mflanaga/java/Maximisation.html
|
---|
20 | * http://www.ee.ucl.ac.uk/~mflanaga/java/
|
---|
21 | *
|
---|
22 | * Copyright (c) 2005 - 2008
|
---|
23 | *
|
---|
24 | * PERMISSION TO COPY:
|
---|
25 | * Permission to use, copy and modify this software and its documentation for
|
---|
26 | * NON-COMMERCIAL purposes is granted, without fee, provided that an acknowledgement
|
---|
27 | * to the author, Michael Thomas Flanagan at www.ee.ucl.ac.uk/~mflanaga, appears in all copies.
|
---|
28 | *
|
---|
29 | * Dr Michael Thomas Flanagan makes no representations about the suitability
|
---|
30 | * or fitness of the software for any or for a particular purpose.
|
---|
31 | * Michael Thomas Flanagan shall not be liable for any damages suffered
|
---|
32 | * as a result of using, modifying or distributing this software or its derivatives.
|
---|
33 | *
|
---|
34 | ***************************************************************************************/
|
---|
35 |
|
---|
36 | package agents.anac.y2015.agentBuyogV2.flanagan.math;
|
---|
37 |
|
---|
38 | import java.util.*;
|
---|
39 |
|
---|
40 | import agents.anac.y2015.agentBuyogV2.flanagan.io.FileOutput;
|
---|
41 | import agents.anac.y2015.agentBuyogV2.flanagan.math.Fmath;
|
---|
42 |
|
---|
43 |
|
---|
44 | // Maximization class
|
---|
45 | public class Maximization extends Maximisation{
|
---|
46 |
|
---|
47 | //Constructors
|
---|
48 | public Maximization(){
|
---|
49 | super();
|
---|
50 | this.iseOption = false;
|
---|
51 | }
|
---|
52 | }
|
---|