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:
現在,模塊的內聚力進一步分為不同的類別。 該分類是基于特定模塊所具有的凝聚力級別進行的。 內聚力的不同類別如下:

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 內聚力