BVHObjectCache

Package: inet.environment.objectcache

BVHObjectCache

compound module

This object cache model organizes closely positioned physical objects into a tree data structure.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Parameters

Name Type Default value Description
physicalEnvironmentModule string "^"
leafCapacity int 1

the upper bound for the number of physical objects per leaf

axisOrder string "XYZ"

"X", "XY", "ZYZ", "ZZXZZYXYX", etc are all allowed combinations

Properties

Name Value Description
display i=block/table2
class BVHObjectCache

Source code

//
// This object cache model organizes closely positioned physical objects into a
// tree data structure.
//
module BVHObjectCache like IObjectCache
{
    parameters:
        string physicalEnvironmentModule = default("^");
        int leafCapacity = default(1); // the upper bound for the number of physical objects per leaf
        string axisOrder = default("XYZ"); //  "X", "XY", "ZYZ", "ZZXZZYXYX", etc are all allowed combinations
        @display("i=block/table2");
        @class(BVHObjectCache);
}
File: src/inet/environment/objectcache/BVHObjectCache.ned