兮尘 commited on
Commit
7ca0863
·
1 Parent(s): 4ed763d

🎉 [update] Center align main title in README files

Browse files
Files changed (2) hide show
  1. README.md +37 -36
  2. README_CN.md +36 -34
README.md CHANGED
@@ -7,10 +7,10 @@ language:
7
  size_categories:
8
  - 100M<n<1B
9
  ---
10
- # Ramsey Graph
11
-
12
  <div align="center">
13
 
 
 
14
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
15
  [![Hugging Face](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Datasets-blue)](https://huggingface.co/datasets/linxy/RamseyGraph)
16
  [![Live Demo](https://img.shields.io/badge/🌐%20Live-Demo-green)](https://linxueyuan.online/RamseyGraph)
@@ -20,39 +20,6 @@ size_categories:
20
 
21
  </div>
22
 
23
- This repository hosts graphs related to the classical **Ramsey Numbers**. You can access them using the following code:
24
-
25
- ```bash
26
- pip install datasets
27
- ```
28
-
29
- ```python
30
- >>> from datasets import load_dataset
31
- >>> dataset = load_dataset("linxy/RamseyGraph", "r44_3", trust_remote_code=True)
32
- >>> for i in dataset["train"]:
33
- >>> print(i)
34
- {'edges': [], 'num_nodes': 3}
35
- {'edges': [[1, 2]], 'num_nodes': 3}
36
- {'edges': [[0, 2], [1, 2]], 'num_nodes': 3}
37
- {'edges': [[0, 1], [0, 2], [1, 2]], 'num_nodes': 3}
38
- ```
39
-
40
- `r44_3` refers to Ramsey(4,4) graphs with 3 vertices. Here are all dataset names:
41
- ```python
42
- ['r34_1', 'r34_2', 'r34_3', 'r34_4', 'r34_5', 'r34_6', 'r34_7', 'r34_8',
43
- 'r35_1', 'r35_2', 'r35_3', 'r35_4', 'r35_5', 'r35_6', 'r35_7', 'r35_8', 'r35_9', 'r35_10', 'r35_11', 'r35_12', 'r35_13',
44
- 'r36_1', 'r36_2', 'r36_3', 'r36_4', 'r36_5', 'r36_6', 'r36_7', 'r36_8', 'r36_9', 'r36_10', 'r36_11', 'r36_12', 'r36_13', 'r36_14', 'r36_15', 'r36_16', 'r36_17',
45
- 'r37_21', 'r37_22',
46
- 'r38_27',
47
- 'r39_35',
48
- 'r44_1', 'r44_2', 'r44_3', 'r44_4', 'r44_5', 'r44_6', 'r44_7', 'r44_8', 'r44_9', 'r44_10', 'r44_11', 'r44_12', 'r44_13', 'r44_14', 'r44_15', 'r44_16', 'r44_17',
49
- 'r45_24',
50
- 'r46_35some',
51
- 'r55_42some']
52
- ```
53
-
54
- # Introduction
55
-
56
  | A 6-vertex Ramsey(4, 4) graph and its complement |
57
  | --------------- |
58
  | ![Ramsey(4, 4) graph](ramsey_graph.png) |
@@ -84,9 +51,43 @@ If you are interested in this topic, you can try to find the **largest Ramsey(5,
84
  | 9 | - | - | - | - | - | - | - | - | 565 - 5366 | 581 - 9797 |
85
  | 10 | - | - | - | - | - | - | - | - | - | 798 - 17730 |
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  ## Progress
88
 
89
- Many Ramsey graphs have been found, but many remain undiscovered. Here are some known Ramsey graphs:
90
 
91
  | Vertices | Ramsey(3,4) | Ramsey(3,5) | Ramsey(3,6) | Ramsey(4,4) Graphs |
92
  | ------ | ------------------------ | -------------------------- | ------------------------------------------- | -------------------------------------------- |
 
7
  size_categories:
8
  - 100M<n<1B
9
  ---
 
 
10
  <div align="center">
11
 
12
+ <h1>Ramsey Graph</h1>
13
+
14
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
15
  [![Hugging Face](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Datasets-blue)](https://huggingface.co/datasets/linxy/RamseyGraph)
16
  [![Live Demo](https://img.shields.io/badge/🌐%20Live-Demo-green)](https://linxueyuan.online/RamseyGraph)
 
20
 
21
  </div>
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  | A 6-vertex Ramsey(4, 4) graph and its complement |
24
  | --------------- |
25
  | ![Ramsey(4, 4) graph](ramsey_graph.png) |
 
51
  | 9 | - | - | - | - | - | - | - | - | 565 - 5366 | 581 - 9797 |
52
  | 10 | - | - | - | - | - | - | - | - | - | 798 - 17730 |
53
 
54
+
55
+ ## How to Use
56
+
57
+ This repository hosts graphs related to the classical **Ramsey Numbers**. You can access them using the following code:
58
+
59
+ ```bash
60
+ pip install datasets
61
+ ```
62
+
63
+ ```python
64
+ >>> from datasets import load_dataset
65
+ >>> dataset = load_dataset("linxy/RamseyGraph", "r44_3", trust_remote_code=True)
66
+ >>> for i in dataset["train"]:
67
+ >>> print(i)
68
+ {'edges': [], 'num_nodes': 3}
69
+ {'edges': [[1, 2]], 'num_nodes': 3}
70
+ {'edges': [[0, 2], [1, 2]], 'num_nodes': 3}
71
+ {'edges': [[0, 1], [0, 2], [1, 2]], 'num_nodes': 3}
72
+ ```
73
+
74
+ `r44_3` refers to Ramsey(4,4) graphs with 3 vertices. Here are all dataset names:
75
+ ```python
76
+ ['r34_1', 'r34_2', 'r34_3', 'r34_4', 'r34_5', 'r34_6', 'r34_7', 'r34_8',
77
+ 'r35_1', 'r35_2', 'r35_3', 'r35_4', 'r35_5', 'r35_6', 'r35_7', 'r35_8', 'r35_9', 'r35_10', 'r35_11', 'r35_12', 'r35_13',
78
+ 'r36_1', 'r36_2', 'r36_3', 'r36_4', 'r36_5', 'r36_6', 'r36_7', 'r36_8', 'r36_9', 'r36_10', 'r36_11', 'r36_12', 'r36_13', 'r36_14', 'r36_15', 'r36_16', 'r36_17',
79
+ 'r37_21', 'r37_22',
80
+ 'r38_27',
81
+ 'r39_35',
82
+ 'r44_1', 'r44_2', 'r44_3', 'r44_4', 'r44_5', 'r44_6', 'r44_7', 'r44_8', 'r44_9', 'r44_10', 'r44_11', 'r44_12', 'r44_13', 'r44_14', 'r44_15', 'r44_16', 'r44_17',
83
+ 'r45_24',
84
+ 'r46_35some',
85
+ 'r55_42some']
86
+ ```
87
+
88
  ## Progress
89
 
90
+ Many Ramsey graphs have been found, but many remain undiscovered. Here are some known Ramsey graphs (also available in `data/` directory):
91
 
92
  | Vertices | Ramsey(3,4) | Ramsey(3,5) | Ramsey(3,6) | Ramsey(4,4) Graphs |
93
  | ------ | ------------------------ | -------------------------- | ------------------------------------------- | -------------------------------------------- |
README_CN.md CHANGED
@@ -7,10 +7,11 @@ language:
7
  size_categories:
8
  - 100M<n<1B
9
  ---
10
- # Ramsey Graph
11
 
12
  <div align="center">
13
 
 
 
14
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
15
  [![Hugging Face](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Datasets-blue)](https://huggingface.co/datasets/linxy/RamseyGraph)
16
  [![Live Demo](https://img.shields.io/badge/🌐%20Live-Demo-green)](https://linxueyuan.online/RamseyGraph)
@@ -20,6 +21,39 @@ size_categories:
20
 
21
  </div>
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  本仓库托管了一些与经典 **拉姆齐数(Ramsey Number)** 相关的图。你可以使用以下代码获取:
24
 
25
  ```bash
@@ -51,42 +85,10 @@ pip install datasets
51
  'r55_42some']
52
  ```
53
 
54
- # 介绍
55
-
56
- | 一个 6 结点的 Ramsey(4, 4) 图及其补图 |
57
- | --------------- |
58
- | ![Ramsey(4, 4) 图](ramsey_graph.png) |
59
- | 它不包含 4 个顶点的完全子图,也不包含 4 个顶点的完全独立集。 |
60
-
61
- **Ramsey(s,t,n) 图** 是具有 $n$ 个顶点的图,它不包含大小为 $s$ 的团,也不包含大小为 $t$ 的独立集。通常将 `n` 省略,用 **Ramsey(s,t) 图** 代指某些 $n$ 的 Ramsey(s,t,n) 图。**拉姆齐定理**表示,对于给定的 $s$ 和 $t$,Ramsey(s,t) 图的数量是有限的。我们称满足 Ramsey 图的最小顶点数为**拉姆齐数(Ramsey Number)**。然而,找到所有这样的图,甚至确定它们存在的最大 $n$,都是一个著名的组合数学难题。
62
-
63
- 人类已知的拉姆齐数非常有限,大部分只能知道该数的上界和下界。一个方法是寻找最大的拉姆齐图,它的顶点数就是拉姆齐数的下界。
64
-
65
- 如果你对这个主题感兴趣,可以尝试找一下 **最大的 Ramsey(5,5) 图**。人们已经将 42 顶点的 Ramsey(5,5) 图全部找到了,但是不确定有没有 43 顶点的 Ramsey(5,5) 图。拉姆齐数 Ramsey(5,5) 的下界最后一次被改进是在 1989 年。只要你找到一个,那就是这个领域 35 年来的重要进展!
66
-
67
- > 有关拉姆齐图的最新研究,请参见 **Radziszowski** 的动态综述,持续更新刊登于 [**电子组合学期刊**](https://www.combinatorics.org)。
68
-
69
-
70
- ## 拉姆齐数
71
-
72
- **拉姆齐数** 是指满���拉姆齐图的最小顶点数。以下是一些已知的拉姆齐数:
73
-
74
- | s\t | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
75
- | --- | --- | --- | --- | --- | ------- | --------- | --------- | ---------- | ---------- | ----------- |
76
- | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
77
- | 2 | - | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
78
- | 3 | - | - | 6 | 9 | 14 | 18 | 23 | 28 | 36 | 40 - 41 |
79
- | 4 | - | - | - | 18 | 25 | 36 - 40 | 49 - 58 | 59 - 79 | 73 - 106 | 92 - 136 |
80
- | 5 | - | - | - | - | 43 - 48 | 59 - 85 | 80 - 133 | 101 - 194 | 133 - 282 | 149 - 381 |
81
- | 6 | - | - | - | - | - | 102 - 161 | 115 - 273 | 134 - 427 | 183 - 656 | 204 - 949 |
82
- | 7 | - | - | - | - | - | - | 205 - 497 | 219 - 840 | 252 - 1379 | 292 - 2134 |
83
- | 8 | - | - | - | - | - | - | - | 282 - 1532 | 329 - 2683 | 343 - 4432 |
84
- | 9 | - | - | - | - | - | - | - | - | 565 - 5366 | 581 - 9797 |
85
- | 10 | - | - | - | - | - | - | - | - | - | 798 - 17730 |
86
 
87
  ## 进展
88
 
89
- 目前人们已经找到了许多拉姆齐图,但仍有许多图尚未找到。以下是一些已知的拉姆齐图:
90
 
91
  | 顶点数 | Ramsey(3,4) | Ramsey(3,5) | Ramsey(3,6) | Ramsey(4,4) 图 |
92
  | ------ | ------------------------ | -------------------------- | ------------------------------------------- | -------------------------------------------- |
 
7
  size_categories:
8
  - 100M<n<1B
9
  ---
 
10
 
11
  <div align="center">
12
 
13
+ <h1>拉姆齐图</h1>
14
+
15
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
16
  [![Hugging Face](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Datasets-blue)](https://huggingface.co/datasets/linxy/RamseyGraph)
17
  [![Live Demo](https://img.shields.io/badge/🌐%20Live-Demo-green)](https://linxueyuan.online/RamseyGraph)
 
21
 
22
  </div>
23
 
24
+ | 一个 6 结点的 Ramsey(4, 4) 图及其补图 |
25
+ | --------------- |
26
+ | ![Ramsey(4, 4) 图](ramsey_graph.png) |
27
+ | 它不包含 4 个顶点的完全子图,也不包含 4 个顶点的完全独立集。 |
28
+
29
+ **Ramsey(s,t,n) 图** 是具有 $n$ 个顶点的图,它不包含大小为 $s$ 的团,也不包含大小为 $t$ 的独立集。通常将 `n` 省略,用 **Ramsey(s,t) 图** 代指某些 $n$ 的 Ramsey(s,t,n) 图。**拉姆齐定理**表示,对于给定的 $s$ 和 $t$,Ramsey(s,t) 图的数量是有限的。我们称满足 Ramsey 图的最小顶点数为**拉姆齐数(Ramsey Number)**。然而,找到所有这样的图,甚至确定它们存在的最大 $n$,都是一个著名的组合数学难题。
30
+
31
+ 人类已知的拉姆齐数非常有限,大部分只能知道该数的上界和下界。一个方法是寻找最大的拉姆齐图,它的顶点数就是拉姆齐数的下界。
32
+
33
+ 如果你对这个主题感兴趣,可以尝试找一下 **最大的 Ramsey(5,5) 图**。人们已经将 42 顶点的 Ramsey(5,5) 图全部找到了,但是不确定有没有 43 顶点的 Ramsey(5,5) 图。拉姆齐数 Ramsey(5,5) 的下界最后一次被改进是在 1989 年。只要你找到一个,那就是这个领域 35 年来的重要进展!
34
+
35
+ > 有关拉姆齐图的最新研究,请参见 **Radziszowski** 的动态综述,持续更新刊登于 [**电子组合学期刊**](https://www.combinatorics.org)。
36
+
37
+
38
+ ## 拉姆齐数
39
+
40
+ **拉姆齐数** 是指满足拉姆齐图的最小顶点数。以下是一些已知的拉姆齐数:
41
+
42
+ | s\t | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
43
+ | --- | --- | --- | --- | --- | ------- | --------- | --------- | ---------- | ---------- | ----------- |
44
+ | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
45
+ | 2 | - | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
46
+ | 3 | - | - | 6 | 9 | 14 | 18 | 23 | 28 | 36 | 40 - 41 |
47
+ | 4 | - | - | - | 18 | 25 | 36 - 40 | 49 - 58 | 59 - 79 | 73 - 106 | 92 - 136 |
48
+ | 5 | - | - | - | - | 43 - 48 | 59 - 85 | 80 - 133 | 101 - 194 | 133 - 282 | 149 - 381 |
49
+ | 6 | - | - | - | - | - | 102 - 161 | 115 - 273 | 134 - 427 | 183 - 656 | 204 - 949 |
50
+ | 7 | - | - | - | - | - | - | 205 - 497 | 219 - 840 | 252 - 1379 | 292 - 2134 |
51
+ | 8 | - | - | - | - | - | - | - | 282 - 1532 | 329 - 2683 | 343 - 4432 |
52
+ | 9 | - | - | - | - | - | - | - | - | 565 - 5366 | 581 - 9797 |
53
+ | 10 | - | - | - | - | - | - | - | - | - | 798 - 17730 |
54
+
55
+ ## 如何使用
56
+
57
  本仓库托管了一些与经典 **拉姆齐数(Ramsey Number)** 相关的图。你可以使用以下代码获取:
58
 
59
  ```bash
 
85
  'r55_42some']
86
  ```
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
 
89
  ## 进展
90
 
91
+ 目前人们已经找到了许多拉姆齐图,但仍有许多图尚未找到。以下是一些已知的拉姆齐图(也可在本仓库 `data/` 目录中找到):
92
 
93
  | 顶点数 | Ramsey(3,4) | Ramsey(3,5) | Ramsey(3,6) | Ramsey(4,4) 图 |
94
  | ------ | ------------------------ | -------------------------- | ------------------------------------------- | -------------------------------------------- |