Skip to contents

Forest Roads Simulation Extension

Super class

LandisExtension -> ForestRoadsSimulation

Active bindings

HeuristicForNetworkConstruction

Character. One of .frsHeuristics; matched case-insensitively, stored in canonical user-guide form.

SkiddingDistance

Numeric.

LoopingBehavior

Character "yes"/"no".

LoopingMinDistance

Numeric.

LoopingMaxDistance

Numeric.

LoopingMaxPercentageOfRoads

Numeric.

LoopingMaxCost

Numeric.

LoopingProbability

Numeric.

OutputsOfRoadNetworkMaps

Character.

OutputsOfRoadLog

Character.

RasterOfBuildableZones

Character.

InitialRoadNetworkMap

Character.

DistanceCost

Numeric.

CoarseElevationRaster

Character.

CoarseElevationCosts

List of ElevationCostRange objects.

FineElevationRaster

Character.

FineElevationCosts

List of ElevationCostRange objects.

CoarseWaterRaster

Character.

CoarseWaterCost

Numeric.

FineWaterRaster

Character.

FineWaterCost

Numeric.

SoilsRaster

Character.

SimulationOfRoadAging

Character "yes"/"no".

SimulationOfWoodFlux

Character "yes"/"no".

RoadTypes

List of RoadType objects.

RoadTypesForExitingWood

List of ExitRoadType objects.

Methods

Inherited methods


ForestRoadsSimulation$new()

Usage

ForestRoadsSimulation$new(
  path,
  Timestep = NULL,
  HeuristicForNetworkConstruction = "ClosestFirst",
  SkiddingDistance = NULL,
  LoopingBehavior = FALSE,
  LoopingMinDistance = NULL,
  LoopingMaxDistance = NULL,
  LoopingMaxPercentageOfRoads = NULL,
  LoopingMaxCost = NULL,
  LoopingProbability = NULL,
  OutputsOfRoadNetworkMaps = NULL,
  OutputsOfRoadLog = NULL,
  RasterOfBuildableZones = NULL,
  InitialRoadNetworkMap = NULL,
  DistanceCost = NULL,
  CoarseElevationRaster = NULL,
  CoarseElevationCosts = list(),
  FineElevationRaster = NULL,
  FineElevationCosts = NULL,
  CoarseWaterRaster = NULL,
  CoarseWaterCost = NULL,
  FineWaterRaster = NULL,
  FineWaterCost = NULL,
  SoilsRaster = NULL,
  SimulationOfRoadAging = FALSE,
  SimulationOfWoodFlux = FALSE,
  RoadTypes = list(),
  RoadTypesForExitingWood = list()
)

Arguments

path

Character. Directory path.

Timestep

Integer. Years between road-construction cycles.

HeuristicForNetworkConstruction

Character. One of "Random", "ClosestFirst", "FarthestFirst" (case-insensitive). Normalized on write to the form expected by the upstream parser ("Closestfirst", "Farthestfirst").

SkiddingDistance

Numeric. Distance (m) wood can be skidded before requiring a road.

LoopingBehavior

Logical (or "yes"/"no"). Whether road looping is enabled.

LoopingMinDistance, LoopingMaxDistance, LoopingMaxPercentageOfRoads, LoopingMaxCost, LoopingProbability

Numeric. Required when LoopingBehavior is truthy.

OutputsOfRoadNetworkMaps

Character. Output path for road-network raster maps.

OutputsOfRoadLog

Character. Output directory for road-construction logs.

RasterOfBuildableZones

Character. Input raster path defining buildable zones.

InitialRoadNetworkMap

Character. Input raster path with the initial road network.

DistanceCost

Numeric. Base cost per unit distance.

CoarseElevationRaster

Character. Coarse-elevation raster path.

CoarseElevationCosts

List of ElevationCostRange objects (see elevationCostRange()).

FineElevationRaster

(Optional) Character. Fine-elevation raster path; pass NULL or "none" to disable.

FineElevationCosts

(Optional) List of ElevationCostRange objects; required when FineElevationRaster is set.

CoarseWaterRaster

(Optional) Character. Coarse-water raster path.

CoarseWaterCost

(Optional) Numeric. Required when CoarseWaterRaster is set.

FineWaterRaster

(Optional) Character. Fine-water raster path.

FineWaterCost

(Optional) Numeric. Required when FineWaterRaster is set.

SoilsRaster

(Optional) Character. Soils raster path.

SimulationOfRoadAging

Logical (or "yes"/"no").

SimulationOfWoodFlux

Logical (or "yes"/"no").

RoadTypes

List of RoadType objects (see roadType()).

RoadTypesForExitingWood

List of ExitRoadType objects (see exitRoadType()).


ForestRoadsSimulation$write()

Write extension inputs to disk

Usage

ForestRoadsSimulation$write()


ForestRoadsSimulation$clone()

The objects of this class are cloneable with this method.

Usage

ForestRoadsSimulation$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.