make style more like Google style

This commit is contained in:
tqchen
2014-03-02 13:30:24 -08:00
committed by tqchen
parent 51b6d86c17
commit a8f69878eb
16 changed files with 32 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
#ifndef _XGBOOST_CONFIG_H_
#define _XGBOOST_CONFIG_H_
#ifndef XGBOOST_CONFIG_H
#define XGBOOST_CONFIG_H
/*!
* \file xgboost_config.h
* \brief helper class to load in configures from file

View File

@@ -3,8 +3,8 @@
* \brief this file defines some easy to use STL based class for in memory sparse CSR matrix
* \author Tianqi Chen: tianqi.tchen@gmail.com
*/
#ifndef _XGBOOST_MATRIX_CSR_H_
#define _XGBOOST_MATRIX_CSR_H_
#ifndef XGBOOST_MATRIX_CSR_H
#define XGBOOST_MATRIX_CSR_H
#include <vector>
#include <algorithm>
#include "xgboost_utils.h"

View File

@@ -1,5 +1,5 @@
#ifndef _XGBOOST_RANDOM_H_
#define _XGBOOST_RANDOM_H_
#ifndef XGBOOST_RANDOM_H
#define XGBOOST_RANDOM_H
/*!
* \file xgboost_random.h
* \brief PRNG to support random number generation

View File

@@ -1,5 +1,5 @@
#ifndef _XGBOOST_STREAM_H_
#define _XGBOOST_STREAM_H_
#ifndef XGBOOST_STREAM_H
#define XGBOOST_STREAM_H
#include <cstdio>
/*!

View File

@@ -1,5 +1,5 @@
#ifndef _XGBOOST_UTILS_H_
#define _XGBOOST_UTILS_H_
#ifndef XGBOOST_UTILS_H
#define XGBOOST_UTILS_H
/*!
* \file xgboost_utils.h
* \brief simple utils to support the code