/********************************************************************** # Copyright (c) EWA Systems Inc. 1998 - 2005 All Rights Reserved # No part of this program may be photocopied, reproduced, # or translated to another programming language without # the prior written consent of EWA Systems. **********************************************************************/ package com.ewasystems.opt.ga.test; import com.ewasystems.opt.ga.GeneticAlleleSet; import com.ewasystems.opt.ga.GeneticEngine; import com.ewasystems.opt.ga.GeneticGene; import com.ewasystems.opt.ga.GeneticProblem; import com.ewasystems.opt.ga.GeneticRunTask; /** *

Genetic Algorithm Test Case: Stiener Hub Location

*

Description: Finds Best Central Hub Location Given Facilities Randomly Placed * (x = -1 to 1, y = -1 to 1) with weight evenly spread across [1, 3]. Solution Granularity .01

*

Copyright: EWASystems Copyright (c) 1998 - 2005

*

Company: EWASystems

* @author Lincoln Evans-Beauchamp * @version 1.0 */ public class StienerHubLocation extends GeneticProblem { /** Facility Data */ protected double[][] facilityData; /** * Problem Constructor */ public StienerHubLocation() { super("Stiener Hub Location", "Finds Best Central Hub Location Given Facilities Randomly Placed (-1