Path: | multiset/multiset.rb |
Last Update: | Sat Feb 16 21:16:44 +0900 2008 |
Rubyによる多重集合(マルチセット)の実装です。 通常の集合(Rubyでは"set"ライブラリ)と異なり、多重集合は 同一の要素を複数格納することができます。
メソッド名は基本的にSetクラスに合わせてあります。またSetクラスが持つ メソッドの大部分を実装していますが、いくつか未実装なものもあります。
Ruby implementation of multiset. Unlike ordinary set(see Ruby documentation for "set" library), multiset can contain two or more same items.
Most methods’ names are same as those of Set class, and all other than a few methods in Set class is implemented on Multiset class.
申し訳ありませんが、特にインストール手段は設けておりません。
このプログラムはmultiset.rb単独で動作するので、多重集合を使いたいプログラムと 同じディレクトリに入れるなり、lib/rubyディレクトリにコピーするなりして下さい。
I am sorry that I have not prepare anything for installation.
multiset.rb works by itself, without any file. Put multiset.rb in the same directory your program resides, or put in lib/ruby directory.
Author: | Maraigue(f52.aaa.livedoor.jp/~maraigue/) |
Version: | 0.11(2008/2/12) |
Copyright: | (C)2008 Maraigue |
このプログラムはBSDライセンスにて提供する 無 保 証 のプログラムです。 詳細はBSDLicense.txtをご覧下さい。
日本語の参考訳は以下のURLにあります。 sourceforge.jp/projects/opensource/wiki/licenses%2Fnew_BSD_license ただし、法的にはBSDLicense.txtに書かれた英語の文章のみが有効です。
This program is districuted with ABSOLUTELY NO WARRANTY, under BSD License. See BSDLicense.txt for more detail.