-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
412 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
module ConScape | ||
|
||
using SparseArrays, LinearAlgebra | ||
using Graphs, Plots, SimpleWeightedGraphs, ProgressLogging, ArnoldiMethod | ||
using Rasters | ||
using LinearSolve | ||
using Rasters.DimensionalData | ||
using SparseArrays, LinearAlgebra | ||
using Graphs, Plots, SimpleWeightedGraphs, ProgressLogging, ArnoldiMethod | ||
using Rasters | ||
using LinearSolve | ||
using Rasters.DimensionalData | ||
|
||
# Old funcion-based interface | ||
abstract type ConnectivityFunction <: Function end | ||
abstract type DistanceFunction <: ConnectivityFunction end | ||
abstract type ProximityFunction <: ConnectivityFunction end | ||
# Old funcion-based interface | ||
abstract type ConnectivityFunction <: Function end | ||
abstract type DistanceFunction <: ConnectivityFunction end | ||
abstract type ProximityFunction <: ConnectivityFunction end | ||
|
||
struct least_cost_distance <: DistanceFunction end | ||
struct expected_cost <: DistanceFunction end | ||
struct free_energy_distance <: DistanceFunction end | ||
struct least_cost_distance <: DistanceFunction end | ||
struct expected_cost <: DistanceFunction end | ||
struct free_energy_distance <: DistanceFunction end | ||
|
||
struct survival_probability <: ProximityFunction end | ||
struct power_mean_proximity <: ProximityFunction end | ||
struct survival_probability <: ProximityFunction end | ||
struct power_mean_proximity <: ProximityFunction end | ||
|
||
# Need to define before loading files | ||
abstract type AbstractProblem end | ||
# Need to define before loading files | ||
abstract type AbstractProblem end | ||
abstract type Solver end | ||
|
||
# Randomized shortest path algorithms | ||
include("randomizedshortestpath.jl") | ||
# Grid struct and methods | ||
include("grid.jl") | ||
# GridRSP (randomized shortest path) struct and methods | ||
include("gridrsp.jl") | ||
# IO | ||
include("io.jl") | ||
# Utilities | ||
include("utils.jl") | ||
include("graph_measure.jl") | ||
include("connectivity_measure.jl") | ||
include("problem.jl") | ||
include("solvers.jl") | ||
include("tiles.jl") | ||
|
||
# Randomized shortest path algorithms | ||
include("randomizedshortestpath.jl") | ||
# Grid struct and methods | ||
include("grid.jl") | ||
# GridRSP (randomized shortest path) struct and methods | ||
include("gridrsp.jl") | ||
# IO | ||
include("io.jl") | ||
# Utilities | ||
include("utils.jl") | ||
include("graph_measure.jl") | ||
include("connectivity_measure.jl") | ||
include("problem.jl") | ||
include("tiles.jl") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.