diff options
author | cathook <b01902109@csie.ntu.edu.tw> | 2014-05-02 01:29:33 +0800 |
---|---|---|
committer | cathook <b01902109@csie.ntu.edu.tw> | 2014-05-02 01:29:33 +0800 |
commit | d2d7a49563a8f04bd07264a4a989d5656313d375 (patch) | |
tree | 45812ca8bcc20b59e9f4f4e54bf052eb39a6c0be /README.asciidoc | |
parent | 395a4bceaac30588963dacb8e006e9ebbe2ca6dd (diff) | |
download | meow-d2d7a49563a8f04bd07264a4a989d5656313d375.tar meow-d2d7a49563a8f04bd07264a4a989d5656313d375.tar.gz meow-d2d7a49563a8f04bd07264a4a989d5656313d375.tar.bz2 meow-d2d7a49563a8f04bd07264a4a989d5656313d375.tar.lz meow-d2d7a49563a8f04bd07264a4a989d5656313d375.tar.xz meow-d2d7a49563a8f04bd07264a4a989d5656313d375.tar.zst meow-d2d7a49563a8f04bd07264a4a989d5656313d375.zip |
update test
Diffstat (limited to 'README.asciidoc')
-rw-r--r-- | README.asciidoc | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/README.asciidoc b/README.asciidoc index 5ea6f5d..af84ff1 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -14,9 +14,7 @@ * *utility.h* some useful functions, `stringPringf()` , `stringReplace()` , `cstringEndWith()` , - `debugPrintf()` , `messagePrintf()` , `constant PI` , - `noEPS()` , `normalize()` , `denormalize()` , - `ratioMapping()` , `inRange()` , `squ()` , `average()` + `debugPrintf()` , `messagePrintf()` , `filenameCompare()` * *Usage.h* `class Usage` * *colors/* Color splces and transformer ** *RGB.h* `class RGBi` , `class RGBf` @@ -39,14 +37,19 @@ ** *Vector2D.h* `Vector2D<Scalar>` ** *Vector3D.h* `Vector3D<Scalar>` * *math/* +** *utility.h* some useful functions, + `constant PI` , + `noEPS()` , `normalize()` , `denormalize()` , + `ratioMapping()` , `inRange()` , `squ()` , `average()` ** *LinearTransformation.h* `LinearTransformation<Scalar>` ** *LinearTransformations.h* `Rotation3D<Scalar>` ** *Matrix.h* `Matrix<Entry>` ** *Transformation.h* `Transformation<Scalar>` ** *Transformations.h* `BallProjection<Scalar>`, `PhotoProjection<Scalar>` * *oo/* -** *Register_Implement.h* `class RegisterInterface` , - `class ImplementInterface` +** *ObjBase.h* `class ObjBase` +** *ObjSelector.h* `class ObjBase<size_t id>` +** *Properties.h* `class Properties` == Structures/Classes/Functions @@ -152,26 +155,6 @@ String const& value, String const& description)` + ''' -=== meow:: *ImplementInterface/RegisterInterface* (C++ Class) -==== Description -Assume there is a problem which can be solved by different algorithms. -Then you can write multiple classes to approach this problem. + -Now if you want to decide which algorithm to use in runtime, you can just -approach this case by a simple way: - -* Let all the problem-solving classes inherit from -`class ImplementInterface<T>` , and call the constructure with giving -`identify` (type `T` ) . -* Create an class inherit from `RegisterInterface<T>` , -and register all your implement class to it by call -`regImplement(pointer to the class)`. -* Select which implement class you want by call -`getImplement(identify)` , which will return the pointer -to the corresponding class. - -''' - - === meow:: *DisjointSet* (C++ class) ==== Description `DisjointSet` 是個*輕量級Data Dtructure*, 用來維護一堆互斥集的資訊. |