Global definitions, constants, enumerations, and utility types for SocNetV.
More...
#include <QPair>
#include <QMetaType>
#include <QString>
Go to the source code of this file.
|
| struct | ClickedEdge |
| | Carries the identity and type of a clicked edge. More...
|
| class | MyEdge |
| | Lightweight value type representing a directed or undirected edge. More...
|
| class | EdgeVisibilityChange |
| | One edge's visibility change, batched with others in signalSetEdgesVisibilityBatch (WS3 M2) so a bulk operation (e.g. a relation switch touching every edge) crosses from graphThread to the GUI thread as a single queued dispatch instead of one per edge. More...
|
| class | GraphDistance |
| | Holds a (target, distance) pair for use in Dijkstra's priority queue. More...
|
| class | GraphDistancesCompare |
| | Min-priority comparator for GraphDistance (used in std::priority_queue). More...
|
| class | PairVF |
| | (value, frequency) pair, used in distribution charts. More...
|
| class | PairVFCompare |
| | Min-priority comparator for PairVF (used in std::priority_queue). More...
|
|
| typedef QPair< int, int > | SelectedEdge |
| | Identifies a selected edge by its two endpoint vertex numbers.
|
|
| enum | NodeShape {
Box
, Circle
, Diamond
, Ellipse
,
Triangle
, Star
, Person
, PersonB
,
Bugs
, Heart
, Dice
, Custom
} |
| | Possible shapes for nodes in the network visualization. More...
|
| enum | FileType {
NOT_SAVED = 0
, GRAPHML = 1
, PAJEK = 2
, ADJACENCY = 3
,
GRAPHVIZ = 4
, UCINET = 5
, GML = 6
, EDGELIST_WEIGHTED = 7
,
EDGELIST_SIMPLE = 8
, TWOMODE = 9
, UNRECOGNIZED = -1
} |
| | Supported network file formats. More...
|
| enum | EdgeType { Directed = 0
, Reciprocated = 1
, Undirected = 2
} |
| | Possible edge types in the network. More...
|
| enum | IndexType {
DC = 1
, CC = 2
, IRCC = 3
, BC = 4
,
SC = 5
, EC = 6
, PC = 7
, IC = 8
,
EVC = 9
, KATZ = 10
, BPC = 11
, DP = 12
,
PRP = 13
, PP = 14
, CLC = 15
, SIGNED_DEGREE = 16
,
PN = 17
} |
| | Centrality / prestige index identifiers. More...
|
| enum class | PNMode { All
, Out
, In
} |
| | Directedness mode for PN Centrality (WS18 P3, Everett & Borgatti 2014). An undirected graph is only ever valid with All; a directed graph must pick Out or In (not All) - the three modes use genuinely different closed-form formulas, not the same one with a transpose swapped in. See Graph::centralityPN()'s own doc comment for the formulas themselves. More...
|
| enum | ChartType { None = -1
, Spline = 0
, Area = 1
, Bars = 2
} |
| | Chart style for prominence distribution visualizations. More...
|
| enum | ReportFormat { Html = 0
, Csv = 1
} |
| | Output format for analysis reports: a full HTML document (default), or a lean, table-only CSV file (no prose/summary-stats/chart — those have no CSV equivalent). More...
|
| enum | NetworkRequestType { Generic = 0
, Crawler = 1
, CheckUpdate = 2
} |
| | Identifies the purpose of an outgoing network request. More...
|
Global definitions, constants, enumerations, and utility types for SocNetV.
All symbols are defined inside the SocNetV namespace. Q_DECLARE_METATYPE registrations are placed outside the namespace, as required by Qt's metatype system.
◆ SOCNETV_BEGIN_NAMESPACE
| #define SOCNETV_BEGIN_NAMESPACE |
Value:
{
#define SOCNETV_NAMESPACE
Definition global.h:21
◆ SOCNETV_END_NAMESPACE
| #define SOCNETV_END_NAMESPACE } |
◆ SOCNETV_NAMESPACE
◆ SOCNETV_USE_NAMESPACE
◆ SelectedEdge
Identifies a selected edge by its two endpoint vertex numbers.
Defined here (not in graphicswidget.h) so that Graph and GraphicsWidget can both use it without a circular include dependency.
◆ ChartType
Chart style for prominence distribution visualizations.
| Enumerator |
|---|
| None | |
| Spline | |
| Area | |
| Bars | |
◆ EdgeType
Possible edge types in the network.
| Enumerator |
|---|
| Directed | |
| Reciprocated | |
| Undirected | |
◆ FileType
Supported network file formats.
| Enumerator |
|---|
| NOT_SAVED | New or unsaved/modified network.
|
| GRAPHML | .graphml / .xml
|
| PAJEK | .paj / .net
|
| ADJACENCY | .csv / .adj / .sm
|
| GRAPHVIZ | .dot
|
| UCINET | .dl / .dat
|
| GML | .gml
|
| EDGELIST_WEIGHTED | .csv / .txt / .list / .lst / .wlst
|
| EDGELIST_SIMPLE | .csv / .txt / .list / .lst
|
| TWOMODE | .2sm / .aff
|
| UNRECOGNIZED | Unrecognised format.
|
◆ IndexType
Centrality / prestige index identifiers.
| Enumerator |
|---|
| DC | Degree Centrality.
|
| CC | Closeness Centrality.
|
| IRCC | Influence Range Closeness Centrality.
|
| BC | Betweenness Centrality.
|
| SC | Stress Centrality.
|
| EC | Eccentricity Centrality.
|
| PC | Power Centrality.
|
| IC | Information Centrality.
|
| EVC | Eigenvector Centrality.
|
| KATZ | Katz Centrality.
|
| BPC | Bonacich Power Centrality - distinct from PC (Gil-Schmidt Power Centrality).
|
| DP | Degree Prestige.
|
| PRP | PageRank Prestige.
|
| PP | Proximity Prestige.
|
| CLC | Clustering Coefficient (Watts-Strogatz).
|
| SIGNED_DEGREE | Signed Degree Centrality (WS18 P3) - four variants (pos/neg/ratio/net), no standardized/max score, so layoutByProminenceIndex(), vertexFindByIndexScore(), and vertexFilterByCentrality() don't have a case for this value (same as how CLC is absent from toolBoxAnalysisProminenceSelectChanged()'s switch) - selectable in the Prominence combo box, opens the report, nothing more yet.
|
| PN | PN Centrality (WS18 P3, Everett & Borgatti 2014) - single raw score, no standardized/max score either, same exclusion as SIGNED_DEGREE above from layoutByProminenceIndex()/vertexFindByIndexScore()/ vertexFilterByCentrality(). Selecting it in the Prominence combo box opens the same mode dialog as the menu action.
|
◆ NetworkRequestType
Identifies the purpose of an outgoing network request.
| Enumerator |
|---|
| Generic | |
| Crawler | |
| CheckUpdate | |
◆ NodeShape
Possible shapes for nodes in the network visualization.
| Enumerator |
|---|
| Box | |
| Circle | |
| Diamond | |
| Ellipse | |
| Triangle | |
| Star | |
| Person | |
| PersonB | |
| Bugs | |
| Heart | |
| Dice | |
| Custom | |
◆ PNMode
Directedness mode for PN Centrality (WS18 P3, Everett & Borgatti 2014). An undirected graph is only ever valid with All; a directed graph must pick Out or In (not All) - the three modes use genuinely different closed-form formulas, not the same one with a transpose swapped in. See Graph::centralityPN()'s own doc comment for the formulas themselves.
| Enumerator |
|---|
| All | Undirected graphs only.
|
| Out | Directed graphs: PN based on outgoing ties.
|
| In | Directed graphs: PN based on incoming ties.
|
◆ ReportFormat
Output format for analysis reports: a full HTML document (default), or a lean, table-only CSV file (no prose/summary-stats/chart — those have no CSV equivalent).
◆ M_PI
| double M_PI = 3.14159265358979323846 |
|
staticconstexpr |
◆ M_PI_3
| double M_PI_3 = 1.04719755119659774615 |
|
staticconstexpr |
◆ M_PI_X_2
| double M_PI_X_2 = 6.28318530717958647692 |
|
staticconstexpr |
◆ MATRIX_ADJACENCY
| const int MATRIX_ADJACENCY = 1 |
|
static |
◆ MATRIX_ADJACENCY_INVERSE
| const int MATRIX_ADJACENCY_INVERSE = 5 |
|
static |
◆ MATRIX_ADJACENCY_TRANSPOSE
| const int MATRIX_ADJACENCY_TRANSPOSE = 8 |
|
static |
◆ MATRIX_COCITATION
| const int MATRIX_COCITATION = 9 |
|
static |
◆ MATRIX_DEGREE
| const int MATRIX_DEGREE = 3 |
|
static |
◆ MATRIX_DISTANCES
| const int MATRIX_DISTANCES = 2 |
|
static |
◆ MATRIX_DISTANCES_CHEBYSHEV
| const int MATRIX_DISTANCES_CHEBYSHEV = 16 |
|
static |
◆ MATRIX_DISTANCES_EUCLIDEAN
| const int MATRIX_DISTANCES_EUCLIDEAN = 12 |
|
static |
◆ MATRIX_DISTANCES_HAMMING
| const int MATRIX_DISTANCES_HAMMING = 15 |
|
static |
◆ MATRIX_DISTANCES_JACCARD
| const int MATRIX_DISTANCES_JACCARD = 14 |
|
static |
◆ MATRIX_DISTANCES_MANHATTAN
| const int MATRIX_DISTANCES_MANHATTAN = 13 |
|
static |
◆ MATRIX_GEODESICS
| const int MATRIX_GEODESICS = 6 |
|
static |
◆ MATRIX_LAPLACIAN
| const int MATRIX_LAPLACIAN = 4 |
|
static |
◆ MATRIX_REACHABILITY
| const int MATRIX_REACHABILITY = 7 |
|
static |
◆ SUBGRAPH_CLIQUE
| const int SUBGRAPH_CLIQUE = 1 |
|
static |
◆ SUBGRAPH_CYCLE
| const int SUBGRAPH_CYCLE = 3 |
|
static |
◆ SUBGRAPH_LINE
| const int SUBGRAPH_LINE = 4 |
|
static |
◆ SUBGRAPH_STAR
| const int SUBGRAPH_STAR = 2 |
|
static |
◆ USER_MSG_CRITICAL
| const int USER_MSG_CRITICAL = 1 |
|
static |
◆ USER_MSG_CRITICAL_NO_EDGES
| const int USER_MSG_CRITICAL_NO_EDGES = 3 |
|
static |
◆ USER_MSG_CRITICAL_NO_NETWORK
| const int USER_MSG_CRITICAL_NO_NETWORK = 2 |
|
static |
◆ USER_MSG_INFO
| const int USER_MSG_INFO = 0 |
|
static |
◆ USER_MSG_QUESTION
| const int USER_MSG_QUESTION = 4 |
|
static |
◆ USER_MSG_QUESTION_CUSTOM
| const int USER_MSG_QUESTION_CUSTOM = 5 |
|
static |
◆ VERSION