patches13/0018-cosmetic.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7064 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -78,7 +78,7 @@ typedef struct mobility_struct mobility_struct; /*!< The typedef that reflects a
|
||||
struct node_struct {
|
||||
int id; /*!< The identifier of the node in question */
|
||||
int gid; /*!< given id of node used for trace mobility */
|
||||
int type; /*!< The node's type, it is one of types enumarated in #node_types */
|
||||
node_types type; /*!< The node's type, it is one of types enumarated in #node_types */
|
||||
int mobile; /*!< The node status: static or mobile */
|
||||
double x_pos; /*!< The X coordinate of the current location of the node */
|
||||
double y_pos; /*!< The Y coordinate of the current location of the node */
|
||||
|
||||
@@ -131,8 +131,8 @@ place_static_node (node_struct * node)
|
||||
node->mob->journey_time = 0.0;
|
||||
|
||||
LOG_I (OMG,
|
||||
"[STATIC] Initial position of node ID: %d type(%d): (X = %.2f, Y = %.2f) speed = 0.0\n",
|
||||
node->id, node->type, node->x_pos, node->y_pos);
|
||||
"[STATIC] Initial position of node ID: %d type(%d: %s): (X = %.2f, Y = %.2f) speed = 0.0\n",
|
||||
node->id, node->type, (node->type==eNB)?"eNB":(node->type==UE)?"UE":"Relay", node->x_pos, node->y_pos);
|
||||
node_vector_end[node->type] =
|
||||
(node_list *) add_entry (node, node_vector_end[node->type]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user