Skip to main content

DefaultTreeTN

Type Alias DefaultTreeTN 

Source
pub type DefaultTreeTN<V = NodeIndex> = TreeTN<TensorDynLen, V>;
Expand description

Default TreeTN type using TensorDynLen as the tensor type.

This is the most common configuration for TreeTN, equivalent to:

use tensor4all_treetn::DefaultTreeTN;

let tree: DefaultTreeTN = DefaultTreeTN::new();
assert_eq!(tree.node_count(), 0);

Use this when you don’t need custom tensor types.

Aliased Type§

pub struct DefaultTreeTN<V = NodeIndex> { /* private fields */ }