Description Usage Arguments Value Examples
Assign a proper name for a bit in an algo. The naming scheme goes like this:
For input bits: "i1", "i2", "i3", ...
For output bits: "o1", "o2", "o3", ...
For non-bits (e.g. the "bit" attribute of an algo vertex in an igraph): NOBIT_PREFIX
(empty string)
Any programmatic manipulation of bits should avoid to implement bit names directly and rather rely on this function to guarantee upward compatibility with future evolutions of the naming scheme.
1 | baptize_algo_bit(type, number = NULL, ...)
|
type |
The bit type: INPUT_PREFIX for input or OUTPUT_PREFIX for output (character) |
number |
The bit number (integer) |
... |
For future usage |
The bit name
1 2 | print(baptize_algo_bit(INPUT_PREFIX, 5));
print(baptize_algo_bit(OUTPUT_PREFIX, 1:4));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.