Skip to content

Commit f3372ee

Browse files
Milvus-doc-botMilvus-doc-bot
Milvus-doc-bot
authored and
Milvus-doc-bot
committed
Release new docs
1 parent fafddd8 commit f3372ee

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

v2.3.x/assets/substructure.png

-87 Bytes
Loading

v2.3.x/assets/superstructure.png

87 Bytes
Loading

v2.3.x/site/en/reference/metric.md

+28
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,34 @@ For example, suppose there are two strings, 1101 1001 and 1001 1101.
123123

124124
11011001 ⊕ 10011101 = 01000100. Since, this contains two 1s, the Hamming distance, d (11011001, 10011101) = 2.
125125

126+
### Structural Similarity
127+
128+
When a chemical structure occurs as a part of a larger chemical structure, the former is called a substructure and the latter is called a superstructure. For example, ethanol is a substructure of acetic acid, and acetic acid is a superstructure of ethanol.
129+
130+
Structural similarity is used to determine whether two chemical formulae are similar to each other in that one is the superstructure or substructure of the other.
131+
132+
To determine whether A is a superstructure of B, use the following formula:
133+
134+
![superstructure](../../../assets/superstructure.png "Superstructure")
135+
136+
Where:
137+
138+
- A is the binary representation of a chemical formula to be retrieved
139+
- B is the binary representation of a chemical formula in the database
140+
141+
Once it returns `0`, **A** is not a superstructure of **B**. Otherwise, the result is the other way around.
142+
143+
To determine whether A is a substructure of B, use the following formula:
144+
145+
![substructure](../../../assets/substructure.png "subsctructure")
146+
147+
Where:
148+
149+
- A is the binary representation of a chemical formula to be retrieved
150+
- B is the binary representation of a chemical formula in the database
151+
152+
Once it returns `0`, **A** is not a substructure of **B**. Otherwise, the result is the other way around.
153+
126154
## FAQ
127155

128156
<details>

version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "v2.2.x",
2+
"version": "v2.3.x",
33
"released": "yes"
44
}

0 commit comments

Comments
 (0)