Giter VIP home page Giter VIP logo

Comments (4)

onclave avatar onclave commented on June 12, 2024

@nabil215 To adapt this to new objective functions, you simply have to write your objective function by extending the IObjectiveFunction interface and implement its objectiveFunctionTitle() and getObjectiveValue() functions. All you have to do then is add a new object of your objective function in the Configuration's buildObjectives() method.

As an example, you can see two objective functions, SCH_1 and SCH_2 written which implements the IObjectiveFunction interface and which is then added in Configuration's buildObjectives() as

newObjectives.add(0, new SCH_1());
newObjectives.add(1, new SCH_2());

Hope this helps. But I am unsure what you mean by "new operators new variables". Do elaborate.

from nsga-ii.

nabil215 avatar nabil215 commented on June 12, 2024

from nsga-ii.

onclave avatar onclave commented on June 12, 2024

@nabil215 can you post the complete error that netbeans is throwing you?

Side note: since this is a maven project, make sure all your dependencies are downloaded before you can build the project by running the POM file. Netbeans should do that for you automatically on your first run or you can right click on dependencies and select “download dependency”.

This project has jfreecharts dependency.

from nsga-ii.

onclave avatar onclave commented on June 12, 2024

Closing this issue due to inactivity. Reopen if necessary.

from nsga-ii.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.