Class xlifepp::SkylineStorage#

class SkylineStorage : public xlifepp::MatrixStorage#

Inheritence diagram for xlifepp::SkylineStorage:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="xlifepp::DualSkylineStorage" tooltip="xlifepp::DualSkylineStorage"] "2" [label="xlifepp::MatrixStorage" tooltip="xlifepp::MatrixStorage"] "1" [label="xlifepp::SkylineStorage" tooltip="xlifepp::SkylineStorage" fillcolor="#BFBFBF"] "4" [label="xlifepp::SymSkylineStorage" tooltip="xlifepp::SymSkylineStorage"] "3" -> "1" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "4" -> "1" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::SkylineStorage:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "4" [label="std::vector< T >" tooltip="std::vector< T >"] "3" [label="std::vector< xlifepp::MatrixStorage * >" tooltip="std::vector< xlifepp::MatrixStorage * >"] "2" [label="xlifepp::MatrixStorage" tooltip="xlifepp::MatrixStorage"] "1" [label="xlifepp::SkylineStorage" tooltip="xlifepp::SkylineStorage" fillcolor="#BFBFBF"] "3" -> "4" [dir=forward tooltip="template-instance"] "2" -> "3" [dir=forward tooltip="usage"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

abstract base class of all skyline storage classes

Subclassed by xlifepp::DualSkylineStorage, xlifepp::SymSkylineStorage

Public Functions

SkylineStorage(AccessType = _dual, string_t id = "SkylineStorage")#

constructor by access type

SkylineStorage(number_t, AccessType = _dual, string_t id = "SkylineStorage")#

constructor by access type, number of columns and rows (same)

SkylineStorage(number_t, number_t, AccessType = _dual, string_t id = "SkylineStorage")#

constructor by access type, number of columns and rows

inline virtual ~SkylineStorage()#

virtual destructor

virtual const std::vector<number_t> &colPointer() const = 0#

colPointer of skyline storage (return rowPointer in _sym access)

virtual number_t lowerPartSize() const = 0#

size of lower triangular part except for Dual/SkylineStorage

virtual const std::vector<number_t> &rowPointer() const = 0#

rowPointer of skyline storage

virtual number_t size() const = 0#

storage size

virtual MatrixStorage *toDual()#

create a new skyline storage from sym skyline storage

virtual MatrixStorage *toSkyline(AccessType at = _dual)#

create skyline storage from current storage

inline virtual number_t upperPartSize() const#

size of upper triangular part except for Dual/SkylineStorage