当前位置:网站首页>包图画法注意规范
包图画法注意规范
2022-07-02 06:27:00 【任亚兵】
关于包图的讲解内容
1.要明确包与包之间的关系
有两种关系:
而其中的依赖:
use :使用关系,是一种默认的依赖关系,说明客户包(发出者)中的元素以某种方式使用提供者包(箭头指向的包)的公共元素,也就是说客户包依赖于提供者包。
import:引用关系,最普遍的包依赖类型,说明提供者包(箭头指向的包)的命名空间(包本身代表命名空间)将被添加到客户包(发出者)的命名空间中,客户包中的元素也能够访问提供者包的所有公共元素。
access:访问关系,只想使用提供者包中的元素,而不想将其命名空间合并则应使用该关系。
trace:追溯关系,想表示一个包到另一个包的历史发展,则需要使用《trace》关系来表示。
2.包中的元素:
类、接口、构件、节点、协作、用例、其他包或者图
3.绘制包图原则:
每个包都必须有一个唯一的包名
包图中拥有的元素不得超出规范中的六种元素
最小化包间的依赖,最小化每个包中的 public , protected 元素个数,最大化每个包中 private 元素个数
包间关系不能出现循环依赖的情况
包中可以嵌套子包
包图需体现出包间的层级关系,一个层级的包放到一张图。一般情况下,只绘制第一层级的包关系即可
4.实例:

边栏推荐
- 【MagNet】《Progressive Semantic Segmentation》
- Open3d learning notes II [file reading and writing]
- [learning notes] numerical differentiation of back error propagation
- 程序的执行
- 【Wing Loss】《Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks》
- What if the notebook computer cannot run the CMD command
- TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
- Open3d learning notes 1 [first glimpse, file reading]
- 【雙目視覺】雙目矯正
- 【学习笔记】Matlab自编高斯平滑器+Sobel算子求导
猜你喜欢

Replace self attention with MLP

MoCO ——Momentum Contrast for Unsupervised Visual Representation Learning

【Cascade FPD】《Deep Convolutional Network Cascade for Facial Point Detection》

Faster-ILOD、maskrcnn_ Benchmark training coco data set and problem summary

【MobileNet V3】《Searching for MobileNetV3》

MMDetection安装问题

针对语义分割的真实世界的对抗样本攻击

【Mixup】《Mixup:Beyond Empirical Risk Minimization》

mmdetection训练自己的数据集--CVAT标注文件导出coco格式及相关操作

TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
随机推荐
Translation of the paper "written mathematical expression recognition with bidirectionally trained transformer"
【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》
[CVPR‘22 Oral2] TAN: Temporal Alignment Networks for Long-term Video
TimeCLR: A self-supervised contrastive learning framework for univariate time series representation
用MLP代替掉Self-Attention
Execution of procedures
Installation and use of image data crawling tool Image Downloader
open3d学习笔记五【RGBD融合】
[learning notes] matlab self compiled Gaussian smoother +sobel operator derivation
【AutoAugment】《AutoAugment:Learning Augmentation Policies from Data》
MoCO ——Momentum Contrast for Unsupervised Visual Representation Learning
Record of problems in the construction process of IOD and detectron2
[C # note] the data in DataGridView saved in WinForm is excel and CSV
浅谈深度学习中的对抗样本及其生成方法
MMDetection模型微调
[multimodal] clip model
用MLP代替掉Self-Attention
联邦学习下的数据逆向攻击 -- GradInversion
【MagNet】《Progressive Semantic Segmentation》
Replace self attention with MLP