SG++-Doxygen-Documentation
NetworkMessageData.hpp File Reference
#include <sgpp/globaldef.hpp>
#include <mpi.h>
#include <functional>

Classes

struct  sgpp::datadriven::AssignBatchNetworkMessage
 Message wrapped in MPI_Packet specifying an order to a worker to train from a batch. More...
 
struct  sgpp::datadriven::AssignSystemMatrixUpdateNetworkMessage
 Message wrapped in MPI_Packet specifying an order to a worker to update a class' system matrix decomposition. More...
 
struct  sgpp::datadriven::MergeGridNetworkMessage
 Packet wrapper in MPI_Packet containing segmented data from the alpha vector of the trained system. More...
 
struct  sgpp::datadriven::MPI_Packet
 A packet sent over MPI, using a command as a descriptor, and a wrapped package in the payload for data. More...
 
struct  sgpp::datadriven::RefinementResultNetworkMessage
 Packet wrapped in an UPDATE_GRID MPI_Packet, containing segmented changes for a specified class. More...
 
struct  sgpp::datadriven::RefinementResultSystemMatrixNetworkMessage
 Packet wrapped in a RefinementResultNetwork Message that contains additional information required when updating the system matrix. More...
 

Namespaces

 sgpp
 This header contains some utility functions.
 
 sgpp::datadriven
 

Macros

#define MPI_MASTER_RANK   0
 
#define MPI_MAX_PROCESSOR_NAME_LENGTH   256
 
#define MPI_PACKET_MAX_PAYLOAD_SIZE   4096
 
#define MPI_TAG_HIGH_PRIORITY_NO_BLOCK   42
 
#define MPI_TAG_STANDARD_COMMAND   41
 
#define REFINENEMT_RESULT_PAYLOAD_SIZE
 

Enumerations

enum  sgpp::datadriven::MPI_COMMAND_ID {
  sgpp::datadriven::NULL_COMMAND, sgpp::datadriven::UPDATE_GRID, sgpp::datadriven::MERGE_GRID, sgpp::datadriven::ASSIGN_BATCH,
  sgpp::datadriven::COMPUTE_UPDATE_SYSTEM_MATRIX_DECOMPOSITION, sgpp::datadriven::SHUTDOWN, sgpp::datadriven::WORKER_SHUTDOWN_SUCCESS
}
 Different commands sent over MPI to allow the receiver to identify the message's contents. More...
 
enum  sgpp::datadriven::RefinementResultsUpdateType { sgpp::datadriven::ADDED_GRID_POINTS_LIST, sgpp::datadriven::DELETED_GRID_POINTS_LIST, sgpp::datadriven::SYSTEM_MATRIX_DECOMPOSITION }
 The type of message received in a UPDATE_GRID message type. More...
 

Macro Definition Documentation

◆ MPI_MASTER_RANK

◆ MPI_MAX_PROCESSOR_NAME_LENGTH

#define MPI_MAX_PROCESSOR_NAME_LENGTH   256

◆ MPI_PACKET_MAX_PAYLOAD_SIZE

#define MPI_PACKET_MAX_PAYLOAD_SIZE   4096

◆ MPI_TAG_HIGH_PRIORITY_NO_BLOCK

#define MPI_TAG_HIGH_PRIORITY_NO_BLOCK   42

◆ MPI_TAG_STANDARD_COMMAND

#define MPI_TAG_STANDARD_COMMAND   41

◆ REFINENEMT_RESULT_PAYLOAD_SIZE

#define REFINENEMT_RESULT_PAYLOAD_SIZE
Value:
- 3 * sizeof(size_t)\
#define MPI_PACKET_MAX_PAYLOAD_SIZE
Definition: NetworkMessageData.hpp:8
RefinementResultsUpdateType
The type of message received in a UPDATE_GRID message type.
Definition: NetworkMessageData.hpp:77