All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.barrybecker4.simulation.snake.data.SnakeData.scala Maven / Gradle / Ivy

The newest version!
// Copyright by Barry G. Becker, 2016-2017. Licensed under MIT License: http://www.opensource.org/licenses/MIT
package com.barrybecker4.simulation.snake.data

/**
  * Snake data is defined by the width of the transverse cross-sectional edges (of which there are num segments+1).
  * The magnitude of each segment is the same as its longer width.
  * @author Barry Becker
  */
case class SnakeData(numSegments: Int, segmentLength: Int, widths: Array[Double])




© 2015 - 2025 Weber Informatics LLC | Privacy Policy