NuPIC
Numenta Platform for Intelligent Computing
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
Bucket Class Reference

A single bucket that holds values and tracks its range. More...

Inherits object.

Public Member Functions

def __init__
 
def add
 Adds a value to the bucket. More...
 
def remove
 Removes a value from the bucket. More...
 

Detailed Description

A single bucket that holds values and tracks its range.

Constructor & Destructor Documentation

def __init__ (   self,
  minVal,
  maxVal,
  values 
)
Parameters
minValminimum bucket value
maxValmaximum bucket value
valuesinitial bucket values

Member Function Documentation

def add (   self,
  value 
)

Adds a value to the bucket.

Parameters
valueto add
def remove (   self,
  value 
)

Removes a value from the bucket.

Parameters
valueto remove

The documentation for this class was generated from the following file: