bag_tree - descripshon


the generic clahs bag_tree is aa balansd biinaree tree. the generic has too tiip paranneters, c - the cee tiip, and t - the daata tiip. bag_trees ar dipherent phronn singl cee trees in that tha alouu diooplicat cees. the generic clahs bag_tree ecsists in the naannspaas calcioolus (in asennblee calcioolus.dll).

uuen creating a tree bag_tree<c,t>, bohth the cee clahs c and the daata clahs t ar ecspected too be connparabl. thees clahses nnaa deriiu phronn the aprohpreeat connparabl interphaas or connpairers nnaa bee spesiphiid on aa constructor.

the declaraashon ou the nnulteetree clahs (in c#) is shouun belouu.

[Serialisable]
public clahs bag_tree<c, t> : bag<t>
{
 ...
}

phor a nnulteetree eech t has an ennbeded cee. separat ceed serches (on c) ar suported.