Code Documentation 3.7
Social Network Visualizer
Loading...
Searching...
No Matches
dialogcentralitybonacich.h
Go to the documentation of this file.
1
15
16#ifndef DIALOGCENTRALITYBONACICH_H
17#define DIALOGCENTRALITYBONACICH_H
18
19#include <QDialog>
20
21#include "ui_dialogcentralitybonacich.h"
22
23class DialogCentralityBonacich : public QDialog
24{
25 Q_OBJECT
26public:
27 explicit DialogCentralityBonacich(QWidget *parent = Q_NULLPTR,
28 const qreal alpha = 1.0,
29 const qreal beta = 0.1);
30
31 // Call before exec(). bound > 0 clamps the beta spinbox to +-(bound * 0.999) (the
32 // convergence condition is a strict "<", not "<=") and shows the actual number in the hint
33 // label. bound == 0 means the network has no such bound (e.g. nilpotent/DAG-like) - the
34 // spinbox keeps its default generous range and the hint label says so. alpha is never
35 // bounded - it's a free outer scale factor.
36 void setBetaBound(qreal bound);
37
38public slots:
39 void getUserChoices();
40
41signals:
42 void userChoices(const qreal alpha, const qreal beta);
43
44private:
45 Ui::DialogCentralityBonacich ui;
46};
47
48#endif
DialogCentralityBonacich(QWidget *parent=Q_NULLPTR, const qreal alpha=1.0, const qreal beta=0.1)
Definition dialogcentralitybonacich.cpp:21
void getUserChoices()
Definition dialogcentralitybonacich.cpp:64
Ui::DialogCentralityBonacich ui
Definition dialogcentralitybonacich.h:45
void userChoices(const qreal alpha, const qreal beta)
void setBetaBound(qreal bound)
Definition dialogcentralitybonacich.cpp:36