A B C D E F G H I K L M N P R S T U V

A

AboutBox - Class in be.optiloading
AboutBox class which creates an about box containg author information.
AboutBox() - Constructor for class be.optiloading.AboutBox
 
actionPerformed(ActionEvent) - Method in class be.optiloading.AppletMain
Overwritten method of the ActionListener interface executed when the button is pressed.
actionPerformed(ActionEvent) - Method in class be.optiloading.Gui.AboutListener
 
actionPerformed(ActionEvent) - Method in class be.optiloading.Gui.ComboBoxListener
 
actionPerformed(ActionEvent) - Method in class be.optiloading.Gui.HelpListener
 
actionPerformed(ActionEvent) - Method in class be.optiloading.Gui.QuitListener
 
actionPerformed(ActionEvent) - Method in class be.optiloading.Gui.SettingsListener
 
actionPerformed(ActionEvent) - Method in class be.optiloading.Gui.StartButtonListener
 
addChromosome(Chromosome) - Method in class be.optiloading.Population
addChromosome method adds a new Chromosome to the population.
addData(float, float, float, float) - Method in class be.optiloading.Tank
Method for adding sounding data to the tank.
addIntensity(float) - Method in class be.optiloading.Intensity
Change the intensity of the object with this value.
addList(int, int) - Method in class be.optiloading.DrawBM
Add x and y coordinates to the list
addList(int, int) - Method in class be.optiloading.DrawSF
Add x and y coordinates to the list
addLog(String) - Method in class be.optiloading.Gui
Method to add text to the genetic log.
addLogSeparator() - Method in class be.optiloading.Gui
Method to add a seperator to the log
AppletMain - Class in be.optiloading
AppletMain is the main class of the applet version.
AppletMain() - Constructor for class be.optiloading.AppletMain
 

B

be.optiloading - package be.optiloading
 
bmCorrection() - Method in class be.optiloading.DrawBM
Do a BM correction seeing the approximation isn't totally accurate.

C

Cargo - Class in be.optiloading
Cargo class used to stow information about the cargo
Cargo(float, float) - Constructor for class be.optiloading.Cargo
Constructor used to create this object.
checkToLoad(Cargo, float, float, float) - Method in class be.optiloading.Ship
Method to check the cargo and set the to be loaded cargo if the desired cargo value is acceptable.
checkToLoad(float, float, float, float, float) - Method in class be.optiloading.Ship
Method to check if it is possible to achieve a desired TMD and if so set the to be loaded cargo value.
Chromosome - Class in be.optiloading
Chromosome class which stores properties of each chromosome and handles methods as creation, mutation and crossover.
Chromosome() - Constructor for class be.optiloading.Chromosome
Constructor which creates a new Chromosome using the full tank method.
Chromosome(boolean) - Constructor for class be.optiloading.Chromosome
Constructor which creates a new Chromosome using the random tank method.
clone() - Method in class be.optiloading.Chromosome
clone method is the overwritten method of the Object object which also copies the ArrayList of volumes.
clone() - Method in class be.optiloading.Intensity
Overwritten method to return a clone of the object.
compareTo(Chromosome) - Method in class be.optiloading.Chromosome
compareTo method is the overwritten method of the Object object which tells how two Chromosomes should be compared.
createInitialPopulation() - Method in class be.optiloading.Population
creatInitialPopulation method creates the initial population
CREATION - Static variable in class be.optiloading.Genetics
 
CROSSOVER - Static variable in class be.optiloading.Genetics
 
crossOverMean(Chromosome) - Method in class be.optiloading.Chromosome
crossOverMean method is used to perform a crossover where the the mean value of each tank volume is taken.
crossOverOnePoint(Chromosome) - Method in class be.optiloading.Chromosome
crossOverOnePoint method is used to perform a crossover where until a certain point we get volumes from this chromosome and from that point on combine them with volumes from the other chromosome.
crossOverTwoPoint(Chromosome) - Method in class be.optiloading.Chromosome
crossOverTwoPoint method is used to perform a crossover where we take volumes from the other chromosome from one point to another and put those volumes in between the values of the original chromosome.
crossOverUniform(Chromosome) - Method in class be.optiloading.Chromosome
crossOverUniform method is used to perform a crossover where the volume of a tank is randomly taken from this or the other chromosome, after which a correction is applied.
CROSSRATE - Static variable in class be.optiloading.Genetics
 

D

DrawBM - Class in be.optiloading
DrawBM class is used to draw the aproximate Bending Moment diagram.
DrawBM() - Constructor for class be.optiloading.DrawBM
Constructor
DrawGZ - Class in be.optiloading
DrawGZ class is used to draw the aproximate GZ-curve using the Wall-sided formula.
DrawGZ() - Constructor for class be.optiloading.DrawGZ
Constructor to set the dimensions and the initial GM and BM.
DrawSF - Class in be.optiloading
DrawSF class is used to draw the aproximate Shear Force diagram.
DrawSF() - Constructor for class be.optiloading.DrawSF
Constructor
DrawShip - Class in be.optiloading
DrawShip class which creates a panel with the ship and all rectangles which display the tank levels.
DrawShip() - Constructor for class be.optiloading.DrawShip
Constructor which draws the ship

E

ELITERATE - Static variable in class be.optiloading.Genetics
 
elitism(int) - Method in class be.optiloading.Population
Creates a new population; keeping into account the elitism rate.

F

fsm - Variable in class be.optiloading.Tank.TankData
 

G

GENERATIONS - Static variable in class be.optiloading.Genetics
 
genetic - Static variable in class be.optiloading.Genetics
 
Genetics - Class in be.optiloading
Genetics class which stores genetic settings and starts/stops the genetic thread.
Genetics() - Constructor for class be.optiloading.Genetics
 
GeneticThread - Class in be.optiloading
 
GeneticThread() - Constructor for class be.optiloading.GeneticThread
 
getBeginframe() - Method in class be.optiloading.Tank
Method to get the begin frame of the tank
getBestchromosome() - Method in class be.optiloading.Population
getBestchromosome method for getting the best Chromosome.
getBM() - Method in class be.optiloading.Chromosome
getBM method is used to get the BM of the current Chromosome.
getCargo() - Method in class be.optiloading.Gui
Method to get the desired cargo or TMD to be achieved.
getCargo() - Method in class be.optiloading.Tank
Method to get the weight of the cargo in the tank
getChromList() - Method in class be.optiloading.Population
getChromList method for getting the list of Chromosome.
getConstants() - Method in class be.optiloading.MiscComp
Get the sum of the weight of all miscellaneous compartments.
getCreation() - Method in class be.optiloading.Settings
Method to get the creation method.
getCrossover() - Method in class be.optiloading.Settings
Method to get the crossover method.
getCrossrate() - Method in class be.optiloading.Settings
Method to get the crossover rate.
getDaft() - Method in class be.optiloading.Chromosome
getDaft method is used to get the draught aft of the current Chromosome.
getData(ShipParticular) - Method in class be.optiloading.Ship
Method used to get ship particulars.
getDensity() - Method in class be.optiloading.Gui
Method to get the density of the water.
getDfwd() - Method in class be.optiloading.Chromosome
getDfwd method is used to get the draught fwd of the current Chromosome.
getDistfromap() - Method in class be.optiloading.Intensity
Get the distance from the aft perpendicular of the current object.
getDynstab() - Method in class be.optiloading.Chromosome
getDynstab method is used to get the area under 0-30 of the current Chromosome.
getEliterate() - Method in class be.optiloading.Settings
Method to get the elitism rate.
getEndframe() - Method in class be.optiloading.Tank
Method to get the end frame of the tank
getFitness() - Method in class be.optiloading.Chromosome
getFitness method is used to get the fitness value of the current Chromosome.
getFSC() - Method in class be.optiloading.Chromosome
getFSC method is used to get the free surface correction of the current Chromosome.
getFSM() - Method in class be.optiloading.Tank
Method to get the Longitudinal Free Surface Moment (FSM) of the tank
getGM() - Method in class be.optiloading.Chromosome
getGM method is used to get the GM value of the current Chromosome.
getInstance() - Static method in class be.optiloading.Gui
Returns the uniqueInstance of the Gui object.
getInstance() - Static method in class be.optiloading.Settings
Returns the uniqueInstance of the Settings object.
getInstance() - Static method in class be.optiloading.Ship
Returns the uniqueInstance of the Ship object (Singleton).
getIntensity() - Method in class be.optiloading.Intensity
Get the intensity value of the current object.
getIntensityList() - Method in class be.optiloading.MiscComp
Get the intensity created by the miscellaneous compartments.
getKG() - Method in class be.optiloading.Tank
Method to get the KG of the tank
getLCG() - Method in class be.optiloading.Tank
Method to get the Longitudinal Center of Gravity (LCG) of the tank
getLength() - Method in class be.optiloading.Tank
Method to get the length of the tank
getMaxvolume() - Method in class be.optiloading.Tank
Method to get the maximum volume the tank
getMoments() - Method in class be.optiloading.MiscComp
Get the longitudinal, vertical and free surface moment created by the miscelaneous compartments.
getMutation() - Method in class be.optiloading.Settings
Method to get the mutation method.
getMutationrate() - Method in class be.optiloading.Settings
Method to get the mutation rate.
getPopulationsize() - Method in class be.optiloading.Settings
Method to get the population size.
getSelection() - Method in class be.optiloading.Settings
Method to get the selection method.
getSolution(ArrayList<Float>) - Method in class be.optiloading.Ship
Method used to set Volumes and get the solution values (mainly used for testing purposes).
getSpecificgravity() - Method in class be.optiloading.Cargo
Returns the specific gravity of the cargo (density relative to fresh water).
getSpecificgravity() - Method in class be.optiloading.Gui
Method to get the specific gravity of the cargo.
getSpecificGravity() - Method in class be.optiloading.Tank
Method to get the specific gravity of the cargo in the tank
getTankid() - Method in class be.optiloading.Tank
Method to get the tank's identification
getTarget() - Method in class be.optiloading.Gui
Method to get the desired trim.
getTotalfitness() - Method in class be.optiloading.Population
getTotalfitness method for getting the total fitness.
getTrim() - Method in class be.optiloading.Chromosome
getTrim method is used to get the trim value of the current Chromosome.
getVolume() - Method in class be.optiloading.Cargo
Returns the volume of the cargo in m^3 .
getVolume() - Method in class be.optiloading.Tank
Method to get the volume of the cargo in the tank
getVolumes() - Method in class be.optiloading.Chromosome
getVolumes method is used to get the ArrayList of the volume values of the current Chromosome.
getWeight() - Method in class be.optiloading.Cargo
Returns the weight of the cargo in tonnes.
Gui - Class in be.optiloading
Gui class creates the main GUI.
Gui.AboutListener - Class in be.optiloading
 
Gui.AboutListener() - Constructor for class be.optiloading.Gui.AboutListener
 
Gui.ComboBoxListener - Class in be.optiloading
 
Gui.ComboBoxListener() - Constructor for class be.optiloading.Gui.ComboBoxListener
 
Gui.HelpListener - Class in be.optiloading
 
Gui.HelpListener() - Constructor for class be.optiloading.Gui.HelpListener
 
Gui.QuitListener - Class in be.optiloading
 
Gui.QuitListener() - Constructor for class be.optiloading.Gui.QuitListener
 
Gui.SettingsListener - Class in be.optiloading
 
Gui.SettingsListener() - Constructor for class be.optiloading.Gui.SettingsListener
 
Gui.StartButtonListener - Class in be.optiloading
 
Gui.StartButtonListener() - Constructor for class be.optiloading.Gui.StartButtonListener
 

H

HelpViewer - Class in be.optiloading
HelpViewer class is used to create the viewer for the help information.
HelpViewer() - Constructor for class be.optiloading.HelpViewer
 
HelpViewer.Hyperactive - Class in be.optiloading
 
HelpViewer.Hyperactive() - Constructor for class be.optiloading.HelpViewer.Hyperactive
 
hyperlinkUpdate(HyperlinkEvent) - Method in class be.optiloading.HelpViewer.Hyperactive
 

I

init() - Method in class be.optiloading.AppletMain
Initializes the applet and displays a start button
Intensity - Class in be.optiloading
Intensity class used to calculate shear forces and bending moments.
Intensity(float, float) - Constructor for class be.optiloading.Intensity
Constructor used to create a new intensity object.
intensitylist - Variable in class be.optiloading.Ship
An ArrayList containing the intensity data used to make hull stress calculations.
isEnabled(boolean) - Method in class be.optiloading.MiscComp
Method to disable the table (when the algorithm is running).
isStability() - Method in class be.optiloading.Settings
Method to check if the stability criteria is selected
isStrength() - Method in class be.optiloading.Settings
Method to check if the strength criteria is selected
isTrim() - Method in class be.optiloading.Settings
Method to check if the trim criteria is selected
itemStateChanged(ItemEvent) - Method in class be.optiloading.Settings.CriteriaListener
 

K

kg - Variable in class be.optiloading.Tank.TankData
 

L

lcg - Variable in class be.optiloading.Tank.TankData
 
loadShipData(InputStream, InputStream, InputStream, InputStream) - Method in class be.optiloading.Ship
Method to load all the ship's data.
loadTanks() - Method in class be.optiloading.MiscComp
If the total deadweight is not exceeding the limit the miscelaneous tans are loaded.

M

Main - Class in be.optiloading
Controller class used to load the Ship and Gui object
Main() - Constructor for class be.optiloading.Main
 
main(String[]) - Static method in class be.optiloading.Main
Sole entry point to the class and application.
MiscComp - Class in be.optiloading
MiscComp class is creates the table with the miscellaneous compartments.
MiscComp() - Constructor for class be.optiloading.MiscComp
Constructor to create the GUI components and set the TableModel
misccomp - Variable in class be.optiloading.MiscComp
 
misccompartments - Variable in class be.optiloading.Gui
 
mutateRandom() - Method in class be.optiloading.Chromosome
mutateRandom method subtracts a random value from one tank and add this value to another tank.
mutateSwitch() - Method in class be.optiloading.Chromosome
mutateSwitch method randomly switches tank volumes and checks if the new solution is valid.
MUTATION - Static variable in class be.optiloading.Genetics
 
MUTRATE - Static variable in class be.optiloading.Genetics
 

N

newList() - Method in class be.optiloading.DrawBM
Initiate a new list
newList() - Method in class be.optiloading.DrawSF
Initiate a new list

P

paintComponent(Graphics) - Method in class be.optiloading.DrawBM
Overwritten paintComponent method to draw the GZ-curve on the panel.
paintComponent(Graphics) - Method in class be.optiloading.DrawGZ
Overwritten paintComponent method to draw the GZ-curve on the panel.
paintComponent(Graphics) - Method in class be.optiloading.DrawSF
Overwritten paintComponent method to draw the GZ-curve on the panel.
paintComponent(Graphics) - Method in class be.optiloading.DrawShip
Overwritten paintComponent method to draw the rectangles which display the tank levels.
paintComponent(Graphics) - Method in class be.optiloading.RotatePanel
Overwritten paintComponent method to draw the panel under the appropriate angle.
POPSIZE - Static variable in class be.optiloading.Genetics
 
Population - Class in be.optiloading
Population class stores Chromosomes and selects them.
Population() - Constructor for class be.optiloading.Population
Construtor initializes the Arraylist

R

repaintOptiloading(int, float) - Method in class be.optiloading.Gui
Method to repaint the main GUI, if best solution hasn't changed.
repaintOptiloading(int, float, Chromosome) - Method in class be.optiloading.Gui
Method to repaint the main GUI.
requestStop() - Method in class be.optiloading.GeneticThread
 
RotatePanel - Class in be.optiloading
RotatePanel class which creates a rotating panel, which looks at the trim value of the ship to know how much to rotate.
RotatePanel() - Constructor for class be.optiloading.RotatePanel
 
run() - Method in class be.optiloading.GeneticThread
 

S

SELECTION - Static variable in class be.optiloading.Genetics
 
selectRankChromosome() - Method in class be.optiloading.Population
selectRankChromosome method uses the rank selection for selecting a Chromosome.
selectRouletteChromosome() - Method in class be.optiloading.Population
selectRouletteChromosome method uses the roulette selection for selecting a Chromosome.
setConstants(float, float) - Method in class be.optiloading.Gui
Method to get update the displacement and deadweight label.
setGeneticSettings() - Static method in class be.optiloading.Genetics
setGeneticSettings gets the inputed settings from the GUI.
Settings - Class in be.optiloading
Settings class creates the settings panel.
Settings.CriteriaListener - Class in be.optiloading
 
Settings.CriteriaListener() - Constructor for class be.optiloading.Settings.CriteriaListener
 
Settings.CrossRateListener - Class in be.optiloading
 
Settings.CrossRateListener() - Constructor for class be.optiloading.Settings.CrossRateListener
 
Settings.EliteRateListener - Class in be.optiloading
 
Settings.EliteRateListener() - Constructor for class be.optiloading.Settings.EliteRateListener
 
Settings.MutRateListener - Class in be.optiloading
 
Settings.MutRateListener() - Constructor for class be.optiloading.Settings.MutRateListener
 
Settings.PopSizeListener - Class in be.optiloading
 
Settings.PopSizeListener() - Constructor for class be.optiloading.Settings.PopSizeListener
 
setTrim(float) - Method in class be.optiloading.RotatePanel
Method to set the trim which have to be displayed.
setValues(float, float) - Method in class be.optiloading.DrawGZ
Method to set the GM and BM which is used to calculate the GZ.
setVisible(boolean) - Method in class be.optiloading.Settings
Overwritten method to make the settingsframe visible/invisible and center the frame
setVolume(float, float) - Method in class be.optiloading.Tank
Method to set the volume of a tank and calculate the longitudinal center of gravity.
setVolumes(ArrayList<Float>) - Method in class be.optiloading.DrawShip
Method to set the volumes which have to be displayed.
Ship - Class in be.optiloading
Ship class used to stow information about the ship and do ship's calculations.
ShipParticular - Enum in be.optiloading
Enum class used to create a list of the different ship particulars.
showFrame() - Method in class be.optiloading.Gui
Method uses by the Applet version to show the main frame.
STABILITY - Static variable in class be.optiloading.Genetics
 
start() - Static method in class be.optiloading.Genetics
start method starts the genetic thread
stateChanged(ChangeEvent) - Method in class be.optiloading.Settings.CrossRateListener
 
stateChanged(ChangeEvent) - Method in class be.optiloading.Settings.EliteRateListener
 
stateChanged(ChangeEvent) - Method in class be.optiloading.Settings.MutRateListener
 
stateChanged(ChangeEvent) - Method in class be.optiloading.Settings.PopSizeListener
 
stop() - Static method in class be.optiloading.Genetics
stop method stops the genetic thread
STRENGTH - Static variable in class be.optiloading.Genetics
 

T

Tank - Class in be.optiloading
Tank class used to stow information about the tank and calculate its center of gravity.
Tank(String, float, float, int, int) - Constructor for class be.optiloading.Tank
Constructor used to create a new tank.
Tank.TankData - Class in be.optiloading
 
Tank.TankData(float, float, float, float) - Constructor for class be.optiloading.Tank.TankData
 
tanks - Variable in class be.optiloading.Ship
Represents a list of all the ship's cargo tanks.
TARGET - Static variable in class be.optiloading.Genetics
 
toLoad - Variable in class be.optiloading.Ship
 
toString() - Method in class be.optiloading.Intensity
Overwritten method to convert the object to a String.
TRIM - Static variable in class be.optiloading.Genetics
 

U

updateButtons() - Method in class be.optiloading.HelpViewer
 

V

valueOf(String) - Static method in enum be.optiloading.ShipParticular
Returns the enum constant of this type with the specified name.
values() - Static method in enum be.optiloading.ShipParticular
Returns an array containing the constants of this enum type, in the order they're declared.
volume - Variable in class be.optiloading.Tank.TankData
 

A B C D E F G H I K L M N P R S T U V