Skip to content

Commit 0cf1de1

Browse files
More classes in Microdown
1 parent 72b697d commit 0cf1de1

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/Math-KDTree/PMIndexedKDTree.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
"
2-
IndexedKDTree returns the indices of the nearest neighbours instead of the nearest neighbours itself. additionally it returns the squared distances between the vector and its neighbours, if more than one neighbour is searched.
2+
`PMIndexedKDTree` returns the indices of the nearest neighbours instead of the nearest neighbours itself. additionally it returns the squared distances between the vector and its neighbours, if more than one neighbour is searched.
33
"
44
Class {
55
#name : #PMIndexedKDTree,
66
#superclass : #PMKDTree,
77
#instVars : [
88
'index'
99
],
10-
#category : 'Math-KDTree'
10+
#category : #'Math-KDTree'
1111
}
1212

1313
{ #category : #'instance creation' }

src/Math-KDTree/PMKDTree.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"
2-
KDTree is a space partitioning data structure to store points of that space with ""KDTree withAll: aCollectionOfVectors"", where a vector can be any collection of numbers that understands ""at:"". you can then find nearest neighbours of aVector with ""nnSearch: aVector i: numberOfNearestNeighbours"".
2+
`PMKDTree` is a space partitioning data structure to store points of that space with ""KDTree withAll: aCollectionOfVectors"", where a vector can be any collection of numbers that understands ""at:"". you can then find nearest neighbours of aVector with ""nnSearch: aVector i: numberOfNearestNeighbours"".
33
"
44
Class {
55
#name : #PMKDTree,
@@ -10,7 +10,7 @@ Class {
1010
'dim',
1111
'value'
1212
],
13-
#category : 'Math-KDTree'
13+
#category : #'Math-KDTree'
1414
}
1515

1616
{ #category : #'instance creation' }

src/Math-KDTree/PMNNStore.class.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"
2-
NNStore stores neighbours together with distances and uses the distances for sorting.
2+
`PMNNStore` stores neighbours together with distances and uses the distances for sorting.
33
4-
can easily be subclassed if one needs an Array sorted depending on some outside data. see StupidNN for a simple example and comment on ""withAll:"" or just use ""newFrom:"".
4+
can easily be subclassed if one needs an Array sorted depending on some outside data. see `PMStupidNN` for a simple example and comment on ""withAll:"" or just use ""newFrom:"".
55
"
66
Class {
77
#name : #PMNNStore,
@@ -11,7 +11,7 @@ Class {
1111
'maxDistance',
1212
'lastUsedIndex'
1313
],
14-
#category : 'Math-KDTree'
14+
#category : #'Math-KDTree'
1515
}
1616

1717
{ #category : #'instance creation' }

src/Math-KDTree/PMStupidNN.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"
2-
StupidNN is a naive nearest neighbour search. KDTree is much faster though, if you have to do several searches. StupidNN exists only for the KDTreeTests (and as an example, how simple it is to subclass NNStore) .
2+
`PMStupidNN` is a naive nearest neighbour search. `PMKDTree` is much faster though, if you have to do several searches. `PMStupidNN` exists only for the `PMKDTreeTest`s (and as an example, how simple it is to subclass `PMNNStore`).
33
"
44
Class {
55
#name : #PMStupidNN,
66
#superclass : #PMNNStore,
77
#type : #variable,
8-
#category : 'Math-KDTree'
8+
#category : #'Math-KDTree'
99
}
1010

1111
{ #category : #evaluating }

0 commit comments

Comments
 (0)