UnifyLines: UnifyLines (after steiner)

Description Usage Arguments Value Examples

View source: R/UnifyLines.R

Description

The algorith transform an SLDF with multiple and overlaping lines into a unique line that works as a clean network to caltulate the final Total Steiner Tree

Usage

1

Arguments

l

sldf to be unified

Value

sldf unified into one feature

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
data("l")
ls <- list()
for(i in 1:length(l[1:100,])){ls[i] <- l[i,]}
l1 <- spatials2one(ls)

# multiply x2 the lines to tryout UnifyLines
l2 <- rbind(l1,l1)

# UnifyLines (network)
UnifyLines(l2)

## End(Not run)

cesarkero/IterativeSteinerTree documentation built on May 17, 2020, 4:38 p.m.