Git Product home page Git Product logo

kevoree-genetic's People

Contributors

assaad avatar doniaelkateb avatar dukeboard avatar gnain avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

kevoree-genetic's Issues

Create population groups and migration schemes

It will be interesting to create many different groups, each one having different settings, mutation rate, crossover function, etc. and specify the migration scheme and rate between the different groups.

Another Null pointer at greedy engine

Exception in thread "main" jet.runtime.Intrinsics$JetNullPointerException
at org.kevoree.modeling.optimization.engine.greedy.GreedyEngine.computeStep(GreedyEngine.kt:148)
at org.kevoree.modeling.optimization.engine.greedy.GreedyEngine.solve(GreedyEngine.kt:223)
at org.kevoree.modeling.genetic.genetictest.SampleRunnerGreedy.main(SampleRunnerGreedy.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

Line: val newStep = _executionModelFactory!!.createStep()

General Kmf issue affecting Polymer as well

[INFO] Kevoree :: Modeling :: Optimization :: Framework :: Execution :: Model SKIPPED

Exception in thread "main" java.lang.AssertionError: Wrong line separators: '\r\n\r\nclass ...' at offset 0
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:66)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:113)
at com.intellij.openapi.util.text.StringUtil.assertValidSeparators(StringUtil.java:2209)
at com.intellij.openapi.editor.impl.DocumentImpl.assertValidSeparators(DocumentImpl.java:624)
at com.intellij.openapi.editor.impl.DocumentImpl.(DocumentImpl.java:124)
at com.intellij.openapi.editor.impl.DocumentImpl.(DocumentImpl.java:119)
at com.intellij.openapi.editor.impl.DocumentImpl.(DocumentImpl.java:115)
at com.intellij.core.CoreApplicationEnvironment$1.fun(CoreApplicationEnvironment.java:103)
at com.intellij.core.CoreApplicationEnvironment$1.fun(CoreApplicationEnvironment.java:100)
at com.intellij.mock.MockFileDocumentManagerImpl$1.create(MockFileDocumentManagerImpl.java:50)
at com.intellij.mock.MockFileDocumentManagerImpl$1.create(MockFileDocumentManagerImpl.java:44)
at com.intellij.util.containers.WeakFactoryMap.get(WeakFactoryMap.java:40)
at com.intellij.mock.MockFileDocumentManagerImpl.getDocument(MockFileDocumentManagerImpl.java:63)
at com.intellij.psi.SingleRootFileViewProvider.getDocument(SingleRootFileViewProvider.java:367)
at com.intellij.psi.impl.source.PsiFileImpl.loadTreeElement(PsiFileImpl.java:197)
at com.intellij.psi.impl.source.PsiFileImpl.getTreeElement(PsiFileImpl.java:126)
at com.intellij.psi.impl.source.PsiFileImpl.calcTreeElement(PsiFileImpl.java:774)
at com.intellij.psi.impl.source.PsiFileImpl.acceptChildren(PsiFileImpl.java:798)
at org.kevoree.modeling.util.StandaloneParser.check(StandaloneParser.java:508)
at org.kevoree.modeling.util.StandaloneParser.convert2ecore(StandaloneParser.java:211)
at org.kevoree.modeling.kotlin.generator.Generator.(Generator.java:84)
at org.kevoree.modeling.kotlin.generator.RootGenerator.execute(RootGenerator.java:129)
at org.kevoree.modeling.kotlin.generator.mavenplugin.GenModelPlugin.execute(GenModelPlugin.java:179)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: java.lang.Throwable
... 49 more

Create a display function

It will be interesting to display the results and the progress of the genetic optimization each N generations. It will be more interesting if the user can specify the display function, i.e: what to display and how to display the results (console printout, save to file, etc.)

Full Search algorithm + Greedy algorithm

After cloning the old solutions, the parameters for mutation are still pointing to the old solution objects instead of the cloned solution. This should be corrected in the full search and greedy search, mutate functions.

Multi-core parallel support

It will be interesting to take into account // computational power. For ex. when evaluating a population, each individual can be calculated in a different thread, or for multi-group optimization, each group is run in a different process.

Null pointer

Exception in thread "main" jet.runtime.Intrinsics$JetNullPointerException
at org.kevoree.modeling.optimization.engine.fullsearch.FullSearchEngine.computeStep(FullSearchEngine.kt:134)
at org.kevoree.modeling.optimization.engine.fullsearch.FullSearchEngine.solve(FullSearchEngine.kt:209)
at org.kevoree.modeling.genetic.genetictest.SampleRunner.main(SampleRunner.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

The pointed line is : " val newStep = _executionModelFactory!!.createStep() "

Add constrains API

Add constrains API to MOEA framework that can leverage model checking functions.

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.