-
Notifications
You must be signed in to change notification settings - Fork 0
/
Participant.cs
31 lines (21 loc) · 858 Bytes
/
Participant.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Text;
namespace VerbalFluencyAnalysis
{
internal class Participant
{
public int Id { get; set; }
public string Gender { get; set; }
public int Age { get; set; }
public string Education { get; set; }
public string Diagnosis { get; set; }
public List<String> Words { get; set; }
public int NumberOfWords { get { return Words.Count; } }
public List<int> ClusterMap { get; set; } = new List<int>();
public List<int> ClusterIDs { get; set; } = new List<int>();
public int NumberOfClusters { get { return ClusterIDs.Count; } }
public double AverageSizeOfClusters { get { return (double)NumberOfWords / NumberOfClusters; } }
public int NumberOfClusterSwitches { get; set; } = 0;
}
}