Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALBurst 2.0.7.1-8a6b96f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Macros Modules Pages
lalburst.cafe.LALCacheBin Class Reference

Detailed Description

Subclass of the packing.Bin class representing a LAL file cache.

The files contained in the bin are available in the .objects attribute, which is a list of lal.utils.CacheEntry objects. The .size attribute holds a igwn_segments.segmentlistdict object giving the times spanned by the files in the bin. The .extent attribute holds the result of running .extent_all() on the .size attribute.

Definition at line 195 of file cafe.py.

Inherits lalburst.packing.Bin.

Public Member Functions

def __init__ (self)
 Initialize a new Bin instance. More...
 
def add (self, cache_entry)
 Add the object, whose size is as given, to the bin. More...
 
def __iadd__ (self, *args)
 Add the contents of another Bin object to this one. More...
 
def __lt__ (self, other)
 
def __le__ (self, other)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __ge__ (self, other)
 
def __gt__ (self, other)
 
def __str__ (self)
 
- Public Member Functions inherited from lalburst.packing.Bin
def __init__ (self)
 Initialize a new Bin instance. More...
 
def add (self, obj, size)
 Add the object, whose size is as given, to the bin. More...
 
def __iadd__ (self, other)
 Add the contents of another Bin object to this one. More...
 
def __lt__ (self, other)
 
def __le__ (self, other)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __ge__ (self, other)
 
def __gt__ (self, other)
 
def __repr__ (self)
 A representation of the Bin object. More...
 

Data Fields

 size
 
 extent
 
- Data Fields inherited from lalburst.packing.Bin
 objects
 
 size
 

Constructor & Destructor Documentation

◆ __init__()

def lalburst.cafe.LALCacheBin.__init__ (   self)

Initialize a new Bin instance.

Reimplemented from lalburst.packing.Bin.

Definition at line 196 of file cafe.py.

Member Function Documentation

◆ add()

def lalburst.cafe.LALCacheBin.add (   self,
  obj 
)

Add the object, whose size is as given, to the bin.

Reimplemented from lalburst.packing.Bin.

Definition at line 201 of file cafe.py.

◆ __iadd__()

def lalburst.cafe.LALCacheBin.__iadd__ (   self,
other 
)

Add the contents of another Bin object to this one.

Reimplemented from lalburst.packing.Bin.

Definition at line 206 of file cafe.py.

◆ __lt__()

def lalburst.cafe.LALCacheBin.__lt__ (   self,
  other 
)

Reimplemented from lalburst.packing.Bin.

Definition at line 211 of file cafe.py.

◆ __le__()

def lalburst.cafe.LALCacheBin.__le__ (   self,
  other 
)

Reimplemented from lalburst.packing.Bin.

Definition at line 214 of file cafe.py.

◆ __eq__()

def lalburst.cafe.LALCacheBin.__eq__ (   self,
  other 
)

Reimplemented from lalburst.packing.Bin.

Definition at line 217 of file cafe.py.

◆ __ne__()

def lalburst.cafe.LALCacheBin.__ne__ (   self,
  other 
)

Reimplemented from lalburst.packing.Bin.

Definition at line 220 of file cafe.py.

◆ __ge__()

def lalburst.cafe.LALCacheBin.__ge__ (   self,
  other 
)

Reimplemented from lalburst.packing.Bin.

Definition at line 223 of file cafe.py.

◆ __gt__()

def lalburst.cafe.LALCacheBin.__gt__ (   self,
  other 
)

Reimplemented from lalburst.packing.Bin.

Definition at line 226 of file cafe.py.

◆ __str__()

def lalburst.cafe.LALCacheBin.__str__ (   self)

Reimplemented from lalburst.packing.Bin.

Definition at line 229 of file cafe.py.

Field Documentation

◆ size

lalburst.cafe.LALCacheBin.size

Definition at line 198 of file cafe.py.

◆ extent

lalburst.cafe.LALCacheBin.extent

Definition at line 199 of file cafe.py.