Package sfc_a

Class Kdb

java.lang.Object
sfc_a.Kdb

public class Kdb
extends java.lang.Object
stores and retrieves GA setups
  • Field Summary

    Fields
    Modifier and Type Field Description
    (package private) java.io.File adl  
    (package private) java.util.ArrayList<Setup> kdb  
    (package private) java.io.File kdbf  
    (package private) Setup nosetup  
    (package private) java.lang.String path2  
  • Constructor Summary

    Constructors
    Constructor Description
    Kdb()  
  • Method Summary

    Modifier and Type Method Description
    void adaptation​(double dev1)
    create log file of how close are the retrieved setups to optimal
    void addsetup​(Setup n)
    add setup to db
    Setup find​(int vnf, int netstat)
    Find and retrieve closest setup
    void loaddb​(java.lang.String f)
    load setups from file

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • kdb

      java.util.ArrayList<Setup> kdb
    • nosetup

      Setup nosetup
    • path2

      java.lang.String path2
    • kdbf

      java.io.File kdbf
    • adl

      java.io.File adl
  • Constructor Details

    • Kdb

      public Kdb()
  • Method Details

    • find

      public Setup find​(int vnf, int netstat)
      Find and retrieve closest setup
    • addsetup

      public void addsetup​(Setup n)
      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