SpatialUtils

io.github.srs.utils.SpatialUtils
object SpatialUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def countExplorableCells(env: Environment, agentRadius: Double, cellSize: Double): Int
def discreteCell(pos: Point2D, cellSize: Double = ...): (Int, Int)
def estimateCoverage(visitedCells: Set[(Int, Int)], env: Environment, cellSize: Double): Double
def estimateRealCoverage(visitedCells: Set[(Int, Int)], env: Environment, agentRadius: Double, cellSize: Double): Double
def nearbyVisitedPositions(pos: (Int, Int), m: Map[(Int, Int), Double], width: Int, height: Int): (Map[(Int, Int), Double], List[Double])