From 59c45c602953a12d5cb54d3c66825f5e30f039e1 Mon Sep 17 00:00:00 2001 From: 13766800364 <13766800364@qq.com> Date: Thu, 9 Oct 2025 16:08:51 +0800 Subject: [PATCH] Add File --- .../gitee/drinkjava2/frog/brain/Relation.java | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 history/005b_letter_test/src/main/java/com/gitee/drinkjava2/frog/brain/Relation.java diff --git a/history/005b_letter_test/src/main/java/com/gitee/drinkjava2/frog/brain/Relation.java b/history/005b_letter_test/src/main/java/com/gitee/drinkjava2/frog/brain/Relation.java new file mode 100644 index 0000000..9aea84f --- /dev/null +++ b/history/005b_letter_test/src/main/java/com/gitee/drinkjava2/frog/brain/Relation.java @@ -0,0 +1,31 @@ +/* + * Copyright 2018 the original author or authors. + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by + * applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS + * OF ANY KIND, either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + */ +package com.gitee.drinkjava2.frog.brain; + +/** + * Relation is the relationship betweeen 2 holes + * + * Relation 表示细胞上的两个洞之间存在关联关系,多对多关系用很多个一对一关系来表达 + * + * @author Yong Zhu + * @since 2.0.2 + */ +public class Relation { + public Hole h1; + public Hole h2; + public int strength = 1; + + public Relation(Hole h1, Hole h2) { + this.h1 = h1; + this.h2 = h2; + } + +}