do_change_id_algo_composite: do_change_id_algo_composite, algo_composite$do_change_id

Description Usage Arguments Value Examples

Description

Modifies the unique ID of a composite algorithm node.

Usage

1

Arguments

algo

A composite algorithm (R6 Class algo_composite)

id

A unique identifier (character)

...

For future usage

Value

N/A

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# R function style:
a1 <- algo_xnor$new();
print(a1$get_algo_id());
do_change_id_algo_composite(a1, "a_stupid_id");
print(a1$get_algo_id());

# R6 method style:
a2 <- algo_xnor$new();
print(a2$get_algo_id());
a2$do_change_id("another_stupid_id");
print(a2$get_algo_id());

daviddoret/haricot documentation built on May 21, 2019, 1:42 a.m.