compile_pref_func: Compile preference functions via 'RcppXPtrUtils'.

View source: R/compile_pref.R

compile_pref_funcR Documentation

Compile preference functions via RcppXPtrUtils.

Description

Compile preference functions via RcppXPtrUtils.

Usage

compile_pref_func(preference, directed)

Arguments

preference

A list for defining the preference functions.

directed

Logical, whether to compile the preference functions for directed networks. If missing, the preference functions for both directed and undirected networks will be compiled.

Value

Returns the input list and their corresponding external pointers.


wdnet documentation built on May 29, 2024, 9:32 a.m.