aboutsummaryrefslogtreecommitdiffstats
path: root/README.asciidoc
diff options
context:
space:
mode:
authorcathook <b01902109@csie.ntu.edu.tw>2014-04-22 02:28:31 +0800
committercathook <b01902109@csie.ntu.edu.tw>2014-04-22 02:28:31 +0800
commit697558aa430c6bb5e9fb25d39ae9156a4d5403c3 (patch)
tree1aa80d9332e7e663f79e9af0f6a8a5864c901fdc /README.asciidoc
parenta18df7f42f62932001cbb1c61c458abaf5d8bace (diff)
downloadmeow-697558aa430c6bb5e9fb25d39ae9156a4d5403c3.tar
meow-697558aa430c6bb5e9fb25d39ae9156a4d5403c3.tar.gz
meow-697558aa430c6bb5e9fb25d39ae9156a4d5403c3.tar.bz2
meow-697558aa430c6bb5e9fb25d39ae9156a4d5403c3.tar.lz
meow-697558aa430c6bb5e9fb25d39ae9156a4d5403c3.tar.xz
meow-697558aa430c6bb5e9fb25d39ae9156a4d5403c3.tar.zst
meow-697558aa430c6bb5e9fb25d39ae9156a4d5403c3.zip
fix readme
Diffstat (limited to 'README.asciidoc')
-rw-r--r--README.asciidoc23
1 files changed, 18 insertions, 5 deletions
diff --git a/README.asciidoc b/README.asciidoc
index 9998a00..2fb5df4 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -39,7 +39,11 @@
:b: |
+
+
+
=== meow:: *Functios* in utility.h
+
[options="header",width="100%",cols="1>s,5<,1<,10<",grid="rows"]
|==============================================================
|Name | Parameters | Return_Type | Description
@@ -94,6 +98,7 @@ double `u2`)
'''
+
=== meow:: *Usage* (C++ Class)
==== Description
`Usage` 是用來分析argc, argv和輸出usage document的class.
@@ -156,8 +161,9 @@ String const& value, String const& description)` +
'''
+
=== meow:: *ImplementInterface/RegisterInterface* (C++ Class)
-.Description
+==== 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
@@ -166,13 +172,16 @@ 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.
+* 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*, 用來維護一堆互斥集的資訊.
@@ -243,6 +252,7 @@ size_t `number2`)| size_t | very fast
|將 `heap2` 的資料統統加到 `this` 中, 並且清空 `heap2`
時間複雜度中的M是 `heap2` 的資料數
|==============================================
+
[WARNING]
==============================================
* 假設現在有兩個MergeableHeap `A` 和 `B`, 則:
@@ -458,3 +468,6 @@ Value const& `delta`)
|void|O(logN)
|將區間 `[first,last]` 全部都加上 `delta`
|==============================================
+
+'''
+