compute_equivrelation: Computes a default equivalence relation under the assumption...

Description Usage Arguments Value

View source: R/tempnetwork-getter.R

Description

Computes a default equivalence relation under the assumption that the vertex sets are identical. That is, it starts by creating a list indexed by the names found in the parameter "defaultNameList". Furthermore, each entry will be populated by a named list with it's names being the one's found in the "pointNameList" parameter and with its values corresponding index of said list in the primary list. E.g. compute_equivrelation(c("a","b","c","d"), c("t1","t2","t3")) == list("a"= list("t1"=a ,"t2"=a ,"t3"=a),"b"= list("t1"=b ,"t2"=b ,"t3"=b) ,"c"= list("t1"=c ,"t2"=c ,"t3"=c), "d"= list("t1"=d ,"t2"=d ,"t3"=d))

Usage

1
compute_equivrelation(defaultNameList, pointNameList)

Arguments

defaultNameList

A vector containing strings representing temporal vertex names, as well as the vertex names of each graph in some graph list.

pointNameList

A vector containing strings representing the point names of an tempflow.

Value

An equivalence relation as described above.


KonstantinRK/tempnetwork documentation built on Dec. 23, 2019, 6:40 p.m.