RaffyManzo/Ma-Ga — reverse-engineered prompt
Reverse engineered prompt
Build me a Java project that simulates computation offloading in a vehicular environment using a genetic algorithm. I want to model vehicles that have computing tasks, and let the program decide whether each task should run on the vehicle or be offloaded to another available computing resource, with the goal of finding a better overall solution for time, cost, or resource use.
Keep it simple to run from the command line. Include a small sample data set so I can test it right away, and print clear results showing the chosen offloading plan and the fitness score over generations. If there are validation or report outputs, save them in a readable format so I can compare runs later.
I don’t need a fancy interface. I mainly want the core algorithm, clean Java code, and enough comments so someone can understand how the genetic algorithm is working and how to change the simulation settings.
Want more depth? Deep Reverse