vendredi 22 janvier 2021

Connected groups [closed]

Relationships between people can be represented in a matrix as a sequence of binary digits. For example, a direct relationship for an 0 through 5 person 0 with can be represented as 101100, meaning that person 0 knows people 0, 2, and 3, indicators of each value. The relationship is transitive. In other words, if the OK person knows person 3 through person 2. The group consists of all people who know each other directly or temporarily. Example Consider the following dependency matrix: 0. 1. 1. 00 1. 2. People 0 I be

Aucun commentaire:

Enregistrer un commentaire