diff options
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*, 用來維護一堆互斥集的資訊. |