isInterior: To find whether a node is interior of the route or not

Description Usage Arguments Examples

Description

To find whether a node is interior of the route or not

Usage

1
isInterior(route, node)

Arguments

route

– Sequence of nodes (Ex: 5 4 3 8)

node

– One of the existing node of the route (Ex: 5)

Examples

1
2
3
4
route <- c(5, 4, 3 ,8)
node <- 5
isInterior(c(5, 4, 3, 8), 5) # FALSE
isInterior(c(5, 4, 3, 8), 4) # TRUE

kavetinaveen/HeuristicsVRP documentation built on May 20, 2019, 7:53 a.m.