ObjsAttrsSubset#

class skrough.structs.objs_attrs_subset.ObjsAttrsSubset(objs: List[int], attrs: List[int])[source]#

Bases: object

A class to represent a subset of objects and attributes.

A class to represent a subset of objects and attributes. They are both stored separately in a form of integer-location based indexing sequence of objects and attributes, respectively.

Methods

__init__(objs, attrs)

Method generated by attrs for class ObjsAttrsSubset.

from_objs_attrs_like(objs_like, attrs_like)

Create a new instance.

Attributes

objs

Subset of objects - integer-location based indexing sequence of objects.

attrs

Subset of attributes - integer-location based indexing sequence of attributes.