Package sfc_ft_a
Class Kdb
java.lang.Object
sfc_ft_a.Kdb
public class Kdb
extends java.lang.Object
stores and retrieves GA setups
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Kdb() -
Method Summary
Modifier and Type Method Description voidadaptation(double dev1)create log file of how close are the retrieved setups to optimalvoidaddsetup(Setup n)add setup to dbbooleanexists(int vnf, int netstat)Setupfind(int vnf, int netstat)Find and retrieve closest setupvoidloaddb(java.lang.String f)load setups from fileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Constructor Details
-
Kdb
public Kdb()
-
-
Method Details
-
find
Find and retrieve closest setup -
exists
public boolean exists(int vnf, int netstat) -
addsetup
add setup to db -
loaddb
public void loaddb(java.lang.String f)load setups from file -
adaptation
public void adaptation(double dev1)create log file of how close are the retrieved setups to optimal
-