【数学建模】多波束测线问题(持续更新)

多波束测线问题

  • 问题 1
    • 建立模型
      • 覆盖宽度
      • 海水深度
      • 重叠长度
      • 重叠率
  • 问题二
  • 问题三
  • 问题四

问题 1

与测线方向垂直的平面和海底坡面的交线构成一条与水平面夹角为 α \alpha α的斜线(如下图),称 α \alpha α为坡度。请建立多波束测深的覆盖宽度及相邻条带之间重叠率的数学模型。
在这里插入图片描述
若多波束换能器的开角为 120 120 120度,坡度为 1.5度,海域中心点处的海水深度为 70 m,利用上述模型计算表 1 中所列位置的指标值,将结果以表 1 的格式放在正文中,同时保存到result1.xlsx文件中。

建立模型

覆盖宽度

根据题目意思画出了另一个图:

在这里插入图片描述

根据上述示意图
其中 D , E D,E D,E表示船的不同位置,线段 D E DE DE距离表示记为 d d d
假设 D D D点为中心点,由题可知线段 D F DF DF长度 D D D即海域中心点处的海水深度为70m
A F AF AF W L W_L WL F H FH FH W R W_R WR ; 覆盖宽度 A H AH AH W W W
那么 A H = A F + F H AH = AF + FH AH=AF+FH W = W L + W R W = W_L + W_R W=WL+WR
在这里插入图片描述

由正弦定理 a sin ⁡ a = b sin ⁡ b = c sin ⁡ c \dfrac{a}{\sin a} =\dfrac{b}{\sin b}=\dfrac{c}{\sin c} sinaa=sinbb=sincc

在三角形AFD中有:

W L sin ⁡ θ 2 = D sin ⁡ x 1 \dfrac{W_L}{\sin \frac{\theta}{2}} =\dfrac{D}{\sin x_1} sin2θWL=sinx1D

π = θ 2 + x 1 + ( π − ( π 2 − α ) ) \pi = \dfrac{\theta}{2} + x_1 + (\pi - (\frac{\pi}{2}-\alpha)) π=2θ+x1+(π(2πα))
x 1 = π − θ 2 − π + π 2 − α x_1 = \pi - \dfrac{\theta}{2} - \pi + \frac{\pi}{2}-\alpha x1=π2θπ+2πα
解得
x 1 = π 2 − α − θ 2 x_1 = \dfrac{\pi}{2}-\alpha- \dfrac{\theta}{2} x1=2πα2θ

W L sin ⁡ θ 2 = D sin ⁡ ( π 2 − α − θ 2 ) \dfrac{W_L}{\sin \frac{\theta}{2}} =\dfrac{D}{\sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} sin2θWL=sin(2πα2θ)D

在三角形FDH中用正弦定理:

W R sin ⁡ θ 2 = D sin ⁡ x 2 \dfrac{W_R}{\sin \frac{\theta}{2}} =\dfrac{D}{\sin x_2} sin2θWR=sinx2D

π = θ 2 + x 2 + ( π 2 − α ) \pi = \dfrac{\theta}{2} + x_2 + (\frac{\pi}{2}-\alpha) π=2θ+x2+(2πα)

解得

x 2 = π 2 + α − θ 2 x_2 = \dfrac{\pi}{2}+\alpha- \dfrac{\theta}{2} x2=2π+α2θ

W R sin ⁡ θ 2 = D sin ⁡ ( π 2 + α − θ 2 ) \dfrac{W_R}{\sin \frac{\theta}{2}} =\dfrac{D}{\sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} sin2θWR=sin(2π+α2θ)D

总结:

W R sin ⁡ θ 2 = D sin ⁡ ( π 2 + α − θ 2 ) \dfrac{W_R}{\sin \frac{\theta}{2}} =\dfrac{D}{\sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} sin2θWR=sin(2π+α2θ)D

W L sin ⁡ θ 2 = D sin ⁡ ( π 2 − α − θ 2 ) \dfrac{W_L}{\sin \frac{\theta}{2}} =\dfrac{D}{\sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} sin2θWL=sin(2πα2θ)D

覆盖宽度 W = W L + W R W = W_L + W_R W=WL+WR

海水深度

在这里插入图片描述
过点 U U U V U VU VU平行于 F G FG FG
由题已知角 G F C GFC GFC α \alpha α
又内错角知识可得角 G F C GFC GFC 等于 角 C U V CUV CUV
线段 U V = d UV = d UV=d,在三角形 C U V CUV CUV中由三角函数和图形可得
D ′ = D − d ∗ t a n α D' = D - d*tan\alpha D=Ddtanα
所以已知测线距中心点处的距离 d d d就可以直接解出改点的海水深度 D ′ D' D

重叠长度

在这里插入图片描述
根据上图
在三角形 C U V CUV CUV中可得线段 C U CU CU长度为 d c o s α \dfrac{d}{cos \alpha} cosαd

所以重叠长度 C = W R 1 + W L 2 − d c o s α C = WR1 + WL2 - \dfrac{d}{cos \alpha} C=WR1+WL2cosαd

总结:
重叠长度 C = W R i + W L i + 1 − d c o s α C = W_{R_i} + W_{L_{i+1}} - \dfrac{d}{cos \alpha} C=WRi+WLi+1cosαd

重叠率

重叠率为 η = C W 1 + W 2 − C \eta = \dfrac{C}{W_1+W_2-C} η=W1+W2CC

问题二

2
在这里插入图片描述

问题三

重叠率为 η = C W 1 + W 2 − C \eta = \dfrac{C}{W_1+W_2-C} η=W1+W2CC
因为 η = 0.1 \eta = 0.1 η=0.1
已知 W 1 , W R 1 W_1,W_{R_1} W1,WR1 , 求其他未知量
因为 C = W R i + W L i + 1 − d c o s α C = W_{R_i} + W_{L_{i+1}} - \dfrac{d}{cos \alpha} C=WRi+WLi+1cosαd
0.1 = W R 1 + W L 2 − d c o s α W 1 + W 2 − ( W R 1 + W L 2 − d c o s α ) 0.1 = \dfrac{W_{R_1} + W_{L_{2}} - \dfrac{d}{cos \alpha}}{W_1+W_2-(W_{R_1} + W_{L_{2}} - \dfrac{d}{cos \alpha})} 0.1=W1+W2(WR1+WL2cosαd)WR1+WL2cosαd

又因为

W R = s i n θ 2 D s i n ( π 2 + α − θ 2 ) W_R =sin \frac{\theta}{2}\dfrac{D}{sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} WR=sin2θsin(2π+α2θ)D

W L = s i n θ 2 D s i n ( π 2 − α − θ 2 ) W_L =sin \frac{\theta}{2} \dfrac{D}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} WL=sin2θsin(2πα2θ)D

W = W L + W R W = W_L + W_R W=WL+WR

D i = D − d ∗ t a n α D_i = D - d*tan\alpha Di=Ddtanα

d = D 中心 − D i t a n α d = \dfrac{D_{中心} - D_i}{tan\alpha} d=tanαD中心Di

已知$D_{中心} = 110 m $
可得
0.1 = W R 1 + s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) − ∣ D 1 − D 2 ∣ t a n α c o s α W 1 + s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) + s i n θ 2 D 2 s i n ( π 2 + α − θ 2 ) − ( W R 1 + s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) − ∣ D 1 − D 2 ∣ t a n α c o s α ) 0.1 = \dfrac{W_{R_1} + sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} - \dfrac{\frac{|D_1-D_2|}{tan\alpha}}{cos \alpha}}{W_1+sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} + sin \frac{\theta}{2}\dfrac{D_2}{sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} -(W_{R_1} + sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} - \dfrac{\frac{|D_1-D_2|}{tan\alpha}}{cos \alpha})} 0.1=W1+sin2θsin(2πα2θ)D2+sin2θsin(2π+α2θ)D2(WR1+sin2θsin(2πα2θ)D2cosαtanαD1D2)WR1+sin2θsin(2πα2θ)D2cosαtanαD1D2

0.1 ∗ ( W 1 + s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) + s i n θ 2 D 2 s i n ( π 2 + α − θ 2 ) − ( W R 1 + s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) − ∣ D 1 − D 2 ∣ t a n α c o s α ) ) = W R 1 + s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) − ∣ D 1 − D 2 ∣ t a n α c o s α 0.1*(W_1+sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} + sin \frac{\theta}{2}\dfrac{D_2}{sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} -(W_{R_1} + sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} - \dfrac{\frac{|D_1-D_2|}{tan\alpha}}{cos \alpha})) = W_{R_1} + sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} - \dfrac{\frac{|D_1-D_2|}{tan\alpha}}{cos \alpha} 0.1(W1+sin2θsin(2πα2θ)D2+sin2θsin(2π+α2θ)D2(WR1+sin2θsin(2πα2θ)D2cosαtanαD1D2))=WR1+sin2θsin(2πα2θ)D2cosαtanαD1D2

因为 D 1 ≥ D 2 D_1 \ge D_2 D1D2

0.1 s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) + 0.1 s i n θ 2 D 2 s i n ( π 2 + α − θ 2 ) − 0.1 s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) + 0.1 D 1 t a n α c o s α − 0.1 D 2 t a n α c o s α − s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) + D 1 t a n α c o s α − D 2 t a n α c o s α = W R 1 − 0.1 W 1 + 0.1 W R 1 0.1sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} + 0.1sin \frac{\theta}{2}\dfrac{D_2}{sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} -0.1sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} +0.1\dfrac{D_{1}}{tan\alpha cos \alpha}-0.1\dfrac{D_{2}}{tan\alpha cos \alpha}- sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} + \dfrac{D_{1}}{tan\alpha cos \alpha}-\dfrac{D_{2}}{tan\alpha cos \alpha} = W_{R_1} - 0.1W_1 + 0.1W_{R_1} 0.1sin2θsin(2πα2θ)D2+0.1sin2θsin(2π+α2θ)D20.1sin2θsin(2πα2θ)D2+0.1tanαcosαD10.1tanαcosαD2sin2θsin(2πα2θ)D2+tanαcosαD1tanαcosαD2=WR10.1W1+0.1WR1

0.1 s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) + 0.1 s i n θ 2 D 2 s i n ( π 2 + α − θ 2 ) − 0.1 s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) − 0.1 D 2 t a n α c o s α − s i n θ 2 D 2 s i n ( π 2 − α − θ 2 ) − D 2 t a n α c o s α = W R 1 − 0.1 W 1 + 0.1 W R 1 − 0.1 D 1 t a n α c o s α − D 1 t a n α c o s α 0.1sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} + 0.1sin \frac{\theta}{2}\dfrac{D_2}{sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} -0.1sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} -0.1\dfrac{D_{2}}{tan\alpha cos \alpha}- sin \frac{\theta}{2} \dfrac{D_2}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} -\dfrac{D_{2}}{tan\alpha cos \alpha} = W_{R_1} - 0.1W_1 + 0.1W_{R_1}-0.1\dfrac{D_{1}}{tan\alpha cos \alpha}- \dfrac{D_{1}}{tan\alpha cos \alpha} 0.1sin2θsin(2πα2θ)D2+0.1sin2θsin(2π+α2θ)D20.1sin2θsin(2πα2θ)D20.1tanαcosαD2sin2θsin(2πα2θ)D2tanαcosαD2=WR10.1W1+0.1WR10.1tanαcosαD1tanαcosαD1

D 2 ( 0.1 s i n θ 2 1 s i n ( π 2 + α − θ 2 ) − s i n θ 2 1 s i n ( π 2 − α − θ 2 ) − 0.1 1 t a n α c o s α − 1 t a n α c o s α ) = W R 1 − 0.1 W 1 + 0.1 W R 1 − 0.1 D 1 t a n α c o s α − D 1 t a n α c o s α D_2( 0.1sin \frac{\theta}{2}\dfrac{1}{sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} -sin \frac{\theta}{2} \dfrac{1}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} -0.1\dfrac{1}{tan\alpha cos \alpha}-\dfrac{1}{tan\alpha cos \alpha}) = W_{R_1} - 0.1W_1 + 0.1W_{R_1}-0.1\dfrac{D_{1}}{tan\alpha cos \alpha}- \dfrac{D_{1}}{tan\alpha cos \alpha} D2(0.1sin2θsin(2π+α2θ)1sin2θsin(2πα2θ)10.1tanαcosα1tanαcosα1)=WR10.1W1+0.1WR10.1tanαcosαD1tanαcosαD1

D 2 = W R 1 − 0.1 W 1 + 0.1 W R 1 − 0.1 D 1 t a n α c o s α − D 1 t a n α c o s α ( 0.1 s i n θ 2 1 s i n ( π 2 + α − θ 2 ) − s i n θ 2 1 s i n ( π 2 − α − θ 2 ) − 0.1 1 t a n α c o s α − 1 t a n α c o s α ) D_2 =\dfrac{ W_{R_1} - 0.1W_1 + 0.1W_{R_1}-0.1\dfrac{D_{1}}{tan\alpha cos \alpha}- \dfrac{D_{1}}{tan\alpha cos \alpha}}{( 0.1sin \frac{\theta}{2}\dfrac{1}{sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} -sin \frac{\theta}{2} \dfrac{1}{sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} -0.1\dfrac{1}{tan\alpha cos \alpha}-\dfrac{1}{tan\alpha cos \alpha})} D2=(0.1sin2θsin(2π+α2θ)1sin2θsin(2πα2θ)10.1tanαcosα1tanαcosα1)WR10.1W1+0.1WR10.1tanαcosαD1tanαcosαD1

问题四

W R sin ⁡ θ 2 = D sin ⁡ ( π 2 + α − θ 2 ) \dfrac{W_R}{\sin \frac{\theta}{2}} =\dfrac{D}{\sin (\frac{\pi}{2}+\alpha- \frac{\theta}{2})} sin2θWR=sin(2π+α2θ)D

W L sin ⁡ θ 2 = D sin ⁡ ( π 2 − α − θ 2 ) \dfrac{W_L}{\sin \frac{\theta}{2}} =\dfrac{D}{\sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})} sin2θWL=sin(2πα2θ)D

覆盖宽度 W = W L + W R W = W_L + W_R W=WL+WR

D ′ = D − d ∗ t a n α D' = D - d*tan\alpha D=Ddtanα
所以
α = arctan ⁡ D − D ′ d \alpha = \arctan{\frac{D - D'}{d}} α=arctandDD

W L = D sin ⁡ ( π 2 − α − θ 2 ) sin ⁡ θ 2 W_L =\dfrac{D}{\sin (\frac{\pi}{2}-\alpha- \frac{\theta}{2})}\sin \frac{\theta}{2} WL=sin(2πα2θ)Dsin2θ

更多建模相关信息看Github仓库(包括真题练习)

更多数学建模信息

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/873754.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Python代码,强化学习,深度学习

python代码编写,Python算法设计,强化学习优化,改进模型,训练模型,测试模型,可视化绘制,代编运行结果,交互多模型改进,预测模型,算法修改,Python包…

Memcached集群管理:构建高可用性缓存系统

Memcached集群管理:构建高可用性缓存系统 目录 引言Memcached简介高可用性缓存系统的需求Memcached集群架构 单点故障与负载均衡数据分片 构建Memcached集群 环境准备配置和部署 高可用性策略 服务器故障处理数据一致性 监控与维护 性能监控日常维护 总结 1. 引言…

【Spring Boot 自定义配置项详解】

文章目录 一、配置文件1. properties配置1.1 创建配置文件1.2 添加配置项1.3 在应用中使用配置项1.4 多环境配置 2. YAML配置2.1 创建配置文件2.2 添加配置项2.3 在应用中使用配置项2.4 多环境配置 二、自定义配置类1. 创建配置类2. 使用配置类 一、配置文件 Spring Boot支持多…

11.斑马纹列表 为没有文本的链接设置样式

斑马纹列表 创建一个背景色交替的条纹列表。 使用 :nth-child(odd) 或 :nth-child(even) 伪类选择器,根据元素在一组兄弟元素中的位置,对匹配的元素应用不同的 background-color。 💡 提示:你可以用它对其他 HTML 元素应用不同的样式,如 <div>、<tr>、<p&g…

利用PyTorch进行模型量化

利用PyTorch进行模型量化 目录 利用PyTorch进行模型量化 一、模型量化概述 1.为什么需要模型量化&#xff1f; 2.模型量化的挑战 二、使用PyTorch进行模型量化 1.PyTorch的量化优势 2.准备工作 3.选择要量化的模型 4.量化前的准备工作 三、PyTorch的量化工具包 1.介…

linux的rm命令是删除到回收站吗?

不会删除到回收站&#xff0c;在 Linux 中&#xff0c;rm 命令用于直接删除文件或目录&#xff0c;而不是将其移至回收站。这与 Windows 系统的回收站机制有所不同。主要原因有以下几个方面&#xff1a; 设计哲学&#xff1a;Linux 设计哲学之一是尽可能简单直接地处理任务。rm…

【小程序开发】TypeError: _this4.getOpenerEventChannel(...).emit is not a function 问题解决

使用uni-appvue2开发微信小程序时遇到一个界面之前传参的问题。想实现的逻辑是界面返回并通知前一个界面刷新。代码如下&#xff1a; GroupManager.getInstance().addGroupRemote(this.createGroupModel(), () > {uni.hideLoading()uni.showToast({icon: "success&quo…

openGauss学习笔记-312 openGauss 数据迁移-MySQL迁移-迁移MySQL数据库至openGauss-概述

文章目录 openGauss学习笔记-312 openGauss 数据迁移-MySQL迁移-迁移MySQL数据库至openGauss-概述312.1 工具部署架构图 openGauss学习笔记-312 openGauss 数据迁移-MySQL迁移-迁移MySQL数据库至openGauss-概述 312.1 工具部署架构图 当前openGauss支持对MySQL迁移服务&#x…

live555搭建实时播放rtsp服务器

live555关于RTSP协议交互流程 live555的核心数据结构值之闭环双向链表 live555 rtsp服务器实战之createNewStreamSource live555搭建实时播放rtsp服务器 live555 rtsp服务器实战之doGetNextFrame live555可以说是rtsp的专项库&#xff0c;既可以搭建rtsp服务器&#xff0c;…

HTTP协议的演进:从HTTP/1.0到HTTP/2.0

随着互联网技术的不断发展&#xff0c;HTTP协议作为Web通信的基础&#xff0c;也经历了从HTTP/1.0到HTTP/1.1再到HTTP/2.0的演进。本文将逐步深入探讨这两个版本的特点、不足以及改进&#xff0c;以帮助我们更好地理解HTTP协议的发展历程。 一、HTTP/1.0的特点与不足 HTTP/1.…

【多任务YOLO】 A-YOLOM: You Only Look at Once for Real-Time and Generic Multi-Task

You Only Look at Once for Real-Time and Generic Multi-Task 论文链接&#xff1a;http://arxiv.org/abs/2310.01641 代码链接&#xff1a;https://github.com/JiayuanWang-JW/YOLOv8-multi-task 一、摘要 高精度、轻量级和实时响应性是实现自动驾驶的三个基本要求。本研究…

Java基础编程500题——HashSet、LinkedHashSet和TreeSet

&#x1f4a5; 该系列属于【Java基础编程500题】专栏&#xff0c;如您需查看Java基础的其他相关题目&#xff0c;请您点击左边的连接 目录 1. 向HashSet中添加元素&#xff0c;并遍历输出。 2. 使用LinkedHashSet保持插入顺序&#xff0c;并遍历输出。 3. 从HashSet中删除一…

多光谱的空间特征和光谱特征Statistics of Real-World Hyperspectral Images

文章目录 Statistics of Real-World Hyperspectral Images1.数据集2.spatial-spectral representation3.Separable Basis Components4.进一步分析5.复现一下5.1.patch的特征和方差和论文近似&#xff0c;5.2 spatial的basis和 spectral的basis 6.coef model7.join model Statis…

如何让主机显示Docker容器的程序界面,同时支持声音播放

系统中如果安装各种应用软件,很容易会因为版本冲刺引发异常。一个好的办法就是用容器来隔离系统环境,确保主机环境不变。对于一些有界面的程序,可以在容器内运行,让其界面显示在主机上。下面以安装和使用视频剪辑软件shotcut为例,介绍实现方案。 docker run -it --privil…

获取磁盘剩余容量-----c++

获取磁盘剩余容量 #include <filesystem>struct DiskSpaceInfo {double total;double free;double available; };DiskSpaceInfo getDiskSpace(const std::string& path) {std::filesystem::space_info si std::filesystem::space(path);DiskSpaceInfo info;info.…

机器学习 - 信息增益

信息增益&#xff08;Information Gain&#xff09; 信息增益是衡量在特征选择过程中一个特征对数据集分类能力提升的指标。在构建决策树&#xff08;如ID3和C4.5算法&#xff09;时&#xff0c;信息增益用于选择最佳的特征来划分数据集。信息增益基于熵的概念&#xff0c;通过…

多视角数据的不确定性估计:全局观的力量

论文标题&#xff1a;Uncertainty Estimation for Multi-view Data: The Power of Seeing the Whole Picture 中文译名&#xff1a;多视角数据的不确定性估计:全局观的力量 原文地址&#xff1a;Uncertainty Estimation for Multi-view Data: The Power of Seeing the Whole …

python用selenium网页模拟时xpath无法定位元素解决方法2

有时我们在使用python selenium xpath时&#xff0c;无法定位元素&#xff0c;红字显示no such element。上一篇文章写了1种情况&#xff0c;是包含iframe的&#xff0c;详见https://blog.csdn.net/Sixth5/article/details/140342929。 本篇写第2种情况&#xff0c;就是xpath定…

类和对象:赋值函数

1.运算符重载 • 当运算符被⽤于类类型的对象时&#xff0c;C语⾔允许我们通过运算符重载的形式指定新的含义。C规定类类型对象使⽤运算符时&#xff0c;必须转换成调⽤对应运算符重载&#xff0c;若没有对应的运算符重载&#xff0c;则会编译报错&#xff1b;&#xff08;运算…

数据旋律与算法和谐:LLMs的微调交响

论文&#xff1a;https://arxiv.org/pdf/2310.05492代码&#xff1a;暂未开源机构&#xff1a;阿里巴巴领域&#xff1a;模型微调发表&#xff1a;ACL 2024 这篇论文《How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Composition》深入…