ansys 内聚力_内聚力 软件工程

ansys 内聚力

凝聚 (Cohesion)

In general terms, the word cohesion means 'the action or act of forming a united whole'. According to the definition of Cambridge University, cohesion is defined as "the state of sticking together, or being in close agreement and working well together".

一般来说, 凝聚力一词的意思是“形成一个统一整体的作用或行为” 。 根据剑桥大学的定义,凝聚力被定义为“团结在一起,或处于密切一致状态并共同努力的状态”。

Now, if we talk about software, the developers and researchers nowadays are trying to develop software in a component-based approach. In this, the entire software is divided into different modules. These modules are developed independently and are capable of performing some specific functionality. Now, for the software to be efficient, these modules must have high cohesion. What this means is that the same types of functionalities and behavior must be performed by a single module. Now, as the same type of functionalities is performed in a united way together in a single module, the quality of the software will automatically increase, and also the component-based structure of the software would make it easier for the developers to understand it better and handle it efficiently in case of error and bugs.

现在,如果我们谈论软件,那么当今的开发人员和研究人员正在尝试以基于组件的方法来开发软件。 在此,整个软件分为不同的模块。 这些模块是独立开发的,并且能够执行某些特定功能。 现在,为了使软件高效运行,这些模块必须具有很高的凝聚力。 这意味着必须由单个模块执行相同类型的功能和行为。 现在,由于在单个模块中以统一的方式一起执行相同类型的功能,因此软件的质量将自动提高,并且基于组件的软件结构将使开发人员更容易理解它。并有效地处理错误和错误。

Now, the cohesion of a module is further classified into different classes. This classification is done based on the level of cohesion that a particular module possesses. The different classes of cohesion are as follows:

现在,模块的内聚力进一步分为不同的类别。 该分类是基于特定模块所具有的凝聚力级别进行的。 内聚力的不同类别如下:

cohesion in software engineering

The sequence of the given classification is from high to low in a top-to-down manner. Now, let us define each of them to understand what they mean:

给定分类的顺序以从上到下的方式从高到低。 现在,让我们定义每个对象,以了解它们的含义:

Functional Cohesion: If a single module aims to perform all the similar types of functionalities through its different elements, then the module is said to exhibit functional cohesion.

功能凝聚力 :如果单个模块旨在通过其不同元素执行所有相似类型的功能,则该模块表现出功能凝聚力。

Sequential Cohesion: In the sequential cohesion, the different elements of a module form a series, in which the output of one element treats as an input to the other elements inside the same module. Hence, a sequence inside the module is formed.

顺序衔接 :在顺序衔接中,模块的不同元素形成一系列,其中一个元素的输出视为同一模块内其他元素的输入。 因此,在模块内部形成序列。

Communicational Cohesion: If all the elements of a module are working on the same data and are accessing that data through the same data structures, then this is called communicational cohesion.

通信内聚性 :如果模块的所有元素都在处理相同的数据,并且正在通过相同的数据结构访问该数据,则这称为通信内聚性。

Procedural Cohesion: If all the elements of a module are a part of the same procedure, i.e. algorithm, then that particular module is said to possess procedural cohesion.

程序内聚 :如果模块的所有元素都是同一过程(即算法)的一部分,则该特定模块被认为具有程序内聚。

Temporal Cohesion: In the temporal cohesion, the different elements of a module are united through the time stamp. All these elements of the module will work in the same timestamp, and here, the time is handled strictly. The login and shutdown processes are very good examples of temporal cohesion.

时间凝聚力 :在时间凝聚力中,模块的不同元素通过时间戳结合在一起。 模块的所有这些元素将在相同的时间戳中工作,并且在此严格地处理时间。 登录和关闭过程是时间凝聚力的很好的例子。

Logical Cohesion: A module is said to exhibit logical cohesion if all its elements perform the same type of logical operations. For example, if a module is performing the sorting operation, then all the processes that need to perform sorting in them will be handled by this module only.

逻辑内聚性 :如果模块的所有元素都执行相同类型的逻辑操作,则表示该模块具有逻辑内聚性。 例如,如果某个模块正在执行排序操作,则其中需要执行排序的所有进程将仅由该模块处理。

翻译自: https://www.includehelp.com/basics/cohesion-software-engineering.aspx

ansys 内聚力

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

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

相关文章

oracle认证都需要考哪几个方面,Oracle OCP认证要通过哪些考试

Oracle OCP认证要通过哪些考试Oracle OCP DBA认证是所有Oracle认证中最普及的一种认证,这一认证过程是专为那些想要从事Oracle管理的专业数据库管理人员设计的,适用于Oracle9I DBAs的OCP认证通过改进,删除了备份和恢复以及网络考试&#xff0…

左侧固定 右侧自适应三种方法

第一种&#xff1a;float 单一层浮动法 例如&#xff1a;左侧固定成100px; 则核心代码 左侧&#xff1a;width:100px;float:left; 右侧 width:auto;margin-left:100px; 实例&#xff1a; <!DOCTYPE html> <html> <head> <meta charset"utf-8&q…

ruby 集合 分组_在Ruby中打印集合的元素

ruby 集合 分组We have gone through the implementation of sets in Ruby. They are very similar to arrays. Now, let us see how we print the elements present in a set. There are no indexes present in the sets because sets are used to store the large elements. …

linux下tmp目录属性,Linux:文件夹属性及umask

回顾&#xff1a;文件在小&#xff0c;也要占用一个Block如&#xff1a;echo > a1.logls a1.log(文件大小为1k)du a1.log(文件大小也应该为1k&#xff0c;如果不是1k&#xff0c;可能selinux是打开的)du -s a1.log文件夹的权限&#xff0c;系统中的文件夹默认权限基本上都为…

python浅复制与深复制_Python中的浅复制与深复制

python浅复制与深复制In python, the assignment operator does not copy the objects, instead, they create bindings between an object and the target. The object, if a collection that is mutable or consists of mutable items uses the copy so that one can change …

逻辑回归 数据_数据科学中的逻辑回归

逻辑回归 数据逻辑回归 (Logistic Regression) Logistic regression is an applied mathematics analysis methodology accustomed to predict a data price supported previous observations of a data set. Logistic regression has become a very important tool within the…

Dede 删除文档同时文章中的图片的方法

首先,在"/include"目录下建立"extend.func.php"文件. 然后,将以下内容保存在"extend.func.php"文件中,一共三个函数&#xff1a;//解析body数据&#xff0c;获得所有图片的绝对地址function GetPicsTruePath($body,$litpic){$delfiles array();…

《linux操作系统》第06章在线测试,Linux系统管理一测试题-附答案.doc

Linux系统管理一测试题-附答案Linux系统管理一测试题姓名&#xff1a;班级&#xff1a;考试时间180分钟,ls,ifconfig,hostname,cd的程序文件在哪里which mkdir ls ifconfig hostname cd查看当前的PATH变量的值echo $PATH在根下新建一个目录study&#xff0c;在study目录下建子目…

java8-02-Stream-API

[TOC] 0 Stream简介 家庭住址 &#xff1a;java.util.stream.Stream<T>出生年月&#xff1a;Java8问世的时候他就来到了世上主要技能&#xff1a;那可以吹上三天三夜了…… 主要特征 不改变输入源中间的各种操作是lazy的(惰性求值、延迟操作)只有当开始消费流的时候&…

跟随者数字解码_跟随模式的数字

跟随者数字解码Problem statement: 问题陈述&#xff1a; Given a pattern containing only Is and Ds. I stands for increasing and D for decreasing. Devise an algorithm to print the minimum number following that pattern. Digits are from 1-9 and digits cant repe…

Linux内核机器ID,linux-如何强制内核重新读取/重新初始化PCI设备ID?

我的机器(正在运行Linux内核3.2.38的计算机)在引导时具有错误的PCI设备的子系统ID(子设备和子供应商ID).如果我然后在系统仍处于启动状态(即热插拔)时物理地拔出PCI设备并重新插入,则它将获得正确的ID.请注意,错误的子设备ID和子供应商ID与设备的设备ID和供应商ID相同(请参见下…

Android ImageButton示例代码

1) XML File: activity_main 1)XML文件&#xff1a;activity_main <?xml version"1.0" encoding"utf-8"?><android.support.constraint.ConstraintLayout xmlns:android"http://schemas.android.com/apk/res/android"xmlns:app"…

IIS 伪静态下 利用PHP获取 网址后缀

$_SERVER[HTTP_X_ORIGINAL_URL];转载于:https://www.cnblogs.com/paddygege/p/7238228.html

kotlin 小数位数_Kotlin程序生成4位数OTP

kotlin 小数位数OTP stands for "One Time Password" is a 4-8 digit alphanumeric code which is sent to the user via email or phone number for validation. As the name suggests, it can be used once only. OTP代表“ 一次密码”&#xff0c;它是4-8位的字母…

NestedScrolling机制

2019独角兽企业重金招聘Python工程师标准>>> NestedScrolling机制(可以称为嵌套滚动或嵌套滑动)能够让父view和子view在滚动时进行配合&#xff0c;其基本流程如下&#xff1a; 当子view开始滚动之前&#xff0c;可以通知父view&#xff0c;让其先于自己进行滚动;子…

linux重定向命令是干嘛的,Linux系统下重定向命令应用及其语法有什么?

1。 标准输入的控制语法&#xff1a;命令 文件将命令的执行结果送至指定的文件中。例如&#xff1a;ls -l > list 将执行“ls -l” 命令的结果写入文件list 中。语法&#xff1a;命令>&#xff01; 文件将命令的执行结果送至指定的文件中&#xff0c;若文件已经存在&…

kotlin 第一个程序_Kotlin程序减去两个矩阵

kotlin 第一个程序Given two matrices, we have to subtract them. 给定两个矩阵&#xff0c;我们必须将它们相减。 Example: 例&#xff1a; Input:matrix 1:[2, 3, 5][0, 5, 4][2, 1, 2]matrix 2:[6, 34, 2][5, 7, 5][3, 4, 3]Output:[-4, -31, 3][-5, -2, -1][-1, -3, -1]…

linux进程q是什么意思,Linux进程

#include #include #include #include #include /* 允许建立的子进程个数最大值 */#define MAX_CHILD_NUMBER 10 /* 子进程睡眠时间 */#define SLEEP_INTERVAL 2 int proc_number0; /* 子进程的自编号&#xff0c;从0开始 */void do_something();main(int argc, char* argv[]){…

cd-rom门锁定什么意思_CD-ROM XA的完整格式是什么?

cd-rom门锁定什么意思CD-ROM XA&#xff1a;CD-ROM扩展体系结构 (CD-ROM XA: CD-ROM Extended Architecture) CD-ROM XA is an abbreviation of "CD-ROM Extended Architecture". It is an extension, a modified version of CD-ROM, which merges compressed audio,…

linux服务chm,linux系统服务 chm

冒算发出乔家开具面霜&#xff1f;磨去开源新片米泉坎坷缆船六谷酷炫。连忙领属官长保民涅盘肚子凶相风趣&#xff0c;逞能算图碍事柴扉规例惩艾坡脚黄袍&#xff0c;四年幸灾别称牌号木牌&#xff0c;类乎股王蓝玉求新名教年糕八股联盟&#xff01;挂单轨迹八股落市气功&#…