package uu.mal.skate.model; public class Options { public int rewardMove; public int rewardCollide; public int directionCount; public int torusWidth; public int torusHeight; public int agentCount; public int agentCollision; public int agentSpeed; public int simSpeed; public double epsilon; public int epsilonFirstN; public double epsilonDecrease; public String simType; public boolean subtlyImprove; public double[] directions; public double lambda; public double maximumW; public double alpha; public double sigma; public static Options defaultOptions() { Options options = new Options(); options.epsilonFirstN = 1000; options.epsilonDecrease = 10; options.epsilon = 0.1; options.simSpeed = 25; options.torusHeight = 600; options.torusWidth = 600; options.rewardMove = 1; options.rewardCollide = -1; options.agentSpeed = 25; options.agentCollision = 25; options.directionCount = 8; options.agentCount = 100; options.directions = new double[options.directionCount]; options.lambda = 1; options.maximumW = 1; options.sigma = 1; options.alpha = 0.1; double n = 2 * Math.PI / options.directionCount; for (int i = 0; i < options.directionCount; i++) { options.directions[i] = i * n; } return options; } }