34、八边形引导线的边界标注算法

八边形引导线的边界标注算法

1. 通用算法介绍

我们有一个通用算法用于解决边界标注问题,其输入和输出及步骤如下:
- 输入 :一个包含 $n$ 个站点的集合 $P = {s_1, \ldots, s_n}$ 和一个放置在矩形 $R$ 边界上的 $n$ 个统一标签的集合 $L = {l_1, \ldots, l_n}$。
- 输出 :一个无交叉且总引导线长度最小的边界标注。

下面是具体的步骤:

Algorithm 1. Generic Algorithm
input: A set P = {s1, . . . , sn} of n sites and a set L = {l1, . . . , ln} of n uniform
labels placed on the boundary of R.
output : A crossing free boundary labeling of minimum total leader length.
Step A: Construct a complete weighted bipartite graph.
Construct a complete weighted bipartite graph G = (P ∪L, E, w) between all
sites si ∈P and all labels lj ∈L. The weight w(eij) of an edge eij = (si, lj) ∈E
is the length of the leader, s
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值