firefly algorithm code in java
#1
Shocked 

Hi am hafiz i would like to get details on firefly algorithm code in java ..My friend fahim said firefly algorithm code in java will be available here and now i am living at Kuala Lampure-KL and i last studied in the college science and now am doing minimization of the number of the number of test for in software engineering i need help on access to firefly optimization algorithm java code.
Reply
#2

/*******************************************************************************
* Copyright © 2009 Richard Malek and SEAGE contributors

* This file is part of SEAGE.

* SEAGE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.

* SEAGE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.

* You should have received a copy of the GNU General Public License
* along with SEAGE. If not, see <http://gnulicenses/>.
*
*/

/**
* Contributors:
* Richard Malek
* - Initial implementation
*/

package org.seage.metaheuristic.fireflies;


/**
*
* @author Administrator
*/
public abstract class FireflyOperator {
abstract public double getDistance(Solution s1, Solution s2);

/**
* Attracts the solution s0 to solution s1 by formula:
* s0 = s0 + beta*s1 + r*(rand - 0.5)
* where beta can be
* beta = para.initialIntensity*exp(-absorption*distance^2)
* or
* beta = para.initialIntensity/(1+absorption*distance^2) for faster computation
* and r = para.initialRandomness if para.withDecreasingRandomness==false
* otherwise
* r = decreaseRandomness(para, iter)
* @param s0 - solution to be attracted closer to s1
* @param s1 - solution of attraction
* @param para - parameters of Firefly algorithm
* @param iter - search iteration
*/
abstract public void attract(Solution s0, Solution s1, int iter);


/**
* Returns decreased step of randomness. Function is used only in a case, if
* para.withDecreasingRandomness == true
* @param r - initial randomness
* @param time
* @return decreased randomness
*/

public abstract Solution randomSolution();
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: seminario caminos para, cheats para mario 64, java code for firefly algorithm, materil para aser semanarios, seminarios para abogados puerto rico, param dhillon, param brahman,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  program for ticket reservation using multithreading in java 0 1,065 08-10-2018, 10:00 AM
Last Post: Guest
  algorithm of railway reservation system 0 669 02-10-2018, 10:50 PM
Last Post: Guest
  icse java projects class 10 free download 0 848 25-09-2018, 10:32 PM
Last Post: Guest
  java source code for voice based email for blinds 0 736 25-09-2018, 09:40 AM
Last Post: Guest
  techmax core java book pdf download 0 656 20-09-2018, 12:54 PM
Last Post: Guest
  rnsit java notes download 0 763 08-08-2018, 10:23 PM
Last Post: Guest
  image steganography source code in java pdf 0 759 04-08-2018, 09:38 PM
Last Post: Guest
  download prisoner face identification system in java source code 0 528 02-08-2018, 01:28 PM
Last Post: Guest
  data flow diagram for chess game in core java 0 694 02-08-2018, 10:39 AM
Last Post: Guest
  java project on automated robot for military system 0 621 23-07-2018, 11:27 AM
Last Post: Guest

Forum Jump: