Giter VIP home page Giter VIP logo

locogp's People

Contributors

codykenb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

tigerqiu712

locogp's Issues

License ?

Hello, under what license is this project released under ? Thank-you.

Runtime error while running locoGP.java

@codykenb I was trying to run locoGP.java using eclipse java EE IDE and openjdk-8-djk. Here is the error that I got.

Exception in thread "main" java.lang.VerifyError: Expecting a stackmap frame at branch target 254
Exception Details:
  Location:
    Sort1ProblemTest.sort([Ljava/lang/Integer;Ljava/lang/Integer;)[Ljava/lang/Integer; @93: if_icmpge
  Reason:
    Expected stackmap frame at this location.
  Bytecode:
    0x0000000: 121b 57b8 0021 c43a fffe 1400 22c4 37ff
    0x0000010: fcb8 0029 c437 fffc bb00 2b59 b700 2cc4
    0x0000020: 3aff fbbb 002b 59b7 002c c43a fffa 1400
    0x0000030: 22c4 37ff f814 0022 c437 fff6 c419 fffb
    0x0000040: 122d b800 03b6 0031 5703 3dc4 19ff fb12
    0x0000050: 32b8 0003 b600 3157 1c2b b600 02a2 00a1
    0x0000060: c419 fffb 1233 b800 03b6 0031 5703 3ec4
    0x0000070: 19ff fb12 34b8 0003 b600 3157 1d2b b600
    0x0000080: 0204 64a2 0068 c419 fffb 1235 b800 03b6
    0x0000090: 0031 572a 1d32 b600 022a 1d04 6032 b600
    0x00000a0: 02a4 0037 c419 fffb 1236 b800 03b6 0031
    0x00000b0: 572a 1d32 b600 0236 04c4 19ff fb12 37b8
    0x00000c0: 0003 b600 3157 2a1d 2a1d 0460 3253 2a1d
    0x00000d0: 0460 1504 b800 0353 c419 fffb 1238 b800
    0x00000e0: 03b6 0031 5784 0301 a7ff 87c4 19ff fb12
    0x00000f0: 39b8 0003 b600 3157 8402 01a7 ff50 c419
    0x0000100: fffb 123a b800 03b6 0031 572a b800 40bb
    0x0000110: 0042 59c4 16ff fc12 4401 0101 0101 c419
    0x0000120: fffe 0103 1001 b700 4759 c419 fffb b500
    0x0000130: 4b59 c419 fffa b500 4ebb 002b 59b7 002c
    0x0000140: c43a fffa 5912 50b8 0054 b500 58b6 005c
    0x0000150: 57b0                                   
  Stackmap Table:
    append_frame(@88,Integer)
    append_frame(@124,Integer)
    same_frame_extended(@229)
    chop_frame(@248,1)
    chop_frame(@267,1)

	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
	at java.lang.Class.getDeclaredMethods(Class.java:1975)
	at de.uka.ipd.sdq.ByCounter.execution.MethodInvocationHelper.callMethods(MethodInvocationHelper.java:65)
	at de.uka.ipd.sdq.ByCounter.execution.BytecodeCounter.execute(BytecodeCounter.java:243)
	at de.uka.ipd.sdq.ByCounter.execution.BytecodeCounter.execute(BytecodeCounter.java:190)
	at locoGP.fitness.OpCodeCounter.run(OpCodeCounter.java:58)
	at locoGP.fitness.RunFitnessFunction.runBasicCounter(RunFitnessFunction.java:25)
	at locoGP.fitness.IndividualEvaluator.evaluateNoTimeLimit(IndividualEvaluator.java:46)
	at locoGP.fitness.IndividualEvaluator.evaluateIndNoTimeLimit(IndividualEvaluator.java:37)
	at locoGP.Generation.createGenfromRandomMutation(Generation.java:452)
	at locoGP.Generation.<init>(Generation.java:134)
	at locoGP.locoGP.createFirstGeneration(locoGP.java:70)
	at locoGP.locoGP.realMain(locoGP.java:96)
	at locoGP.locoGP.main(locoGP.java:33)

I'm not able to understand the error. Could you tell me how can I fix this error. Anyways I want to run locoGP with fitness metric a run-time rather than opcode counts. What changes should I need to make for that.

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.