BvhObjectCache¶
Package: inet.environment.objectcache
compound module BvhObjectCache
This object cache model organizes closely positioned physical objects into a tree data structure.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
compound module |
Base module for all INET compound modules. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
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 |
|---|---|---|
class |
BvhObjectCache |
|
display |
i=block/table2 |
Source code¶
//
// This object cache model organizes closely positioned physical objects into a
// tree data structure.
//
module BvhObjectCache extends Module 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);
}