ho-interval
A half-open interval object
Last updated 4 years ago by lazutkin .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ho-interval 
SYNC missed versions from official npm registry.

Build Status

ho-interval

This library provides an simple representation of a half-open [x,y) interval defined on set of numbers. That is if you have a set of something that may be compared (operations == and < are defined) than you may group them into intervals.

..,-20,-19.....a...........,0,..........b........ . . .  .  . . . ...........,1000,...

               ^                        ^
               |                        |
               +------------------------+
                     [a, b) interval   

Note: The a-b interval and all other intervals represented by library a left-closed class of a half-open intervals (see here for details).


Current Tags

  • 0.1.6                                ...           latest (4 years ago)

7 Versions

  • 0.1.6                                ...           4 years ago
  • 0.1.5                                ...           4 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 8
Dependencies (0)
None
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |