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