[mlpack-svn] master: Trivial capitalization fixes for style guidelines. (c6cc581)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Tue Jan 6 14:21:01 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/6b14d78fc09cb205ffa7a297f5e6310b2ad83e25...9147fd3ee8072669c18422de4ea6fbe8f964b423
>---------------------------------------------------------------
commit c6cc581ec01690e44c4799de3def6c04b904a346
Author: ryan <ryan at ratml.org>
Date: Sun Jan 4 23:25:06 2015 -0500
Trivial capitalization fixes for style guidelines.
>---------------------------------------------------------------
c6cc581ec01690e44c4799de3def6c04b904a346
src/mlpack/tests/lrsdp_test.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/mlpack/tests/lrsdp_test.cpp b/src/mlpack/tests/lrsdp_test.cpp
index 3045f1a..d9b1697 100644
--- a/src/mlpack/tests/lrsdp_test.cpp
+++ b/src/mlpack/tests/lrsdp_test.cpp
@@ -18,7 +18,7 @@ BOOST_AUTO_TEST_SUITE(LRSDPTest);
/**
* Create a Lovasz-Theta initial point.
*/
-void createLovaszThetaInitialPoint(const arma::mat& edges,
+void CreateLovaszThetaInitialPoint(const arma::mat& edges,
arma::mat& coordinates)
{
// Get the number of vertices in the problem.
@@ -95,7 +95,7 @@ BOOST_AUTO_TEST_CASE(Johnson844LovaszThetaSDP)
// The LRSDP itself and the initial point.
arma::mat coordinates;
- createLovaszThetaInitialPoint(edges, coordinates);
+ CreateLovaszThetaInitialPoint(edges, coordinates);
LRSDP lovasz(edges.n_cols + 1, 0, coordinates);
@@ -122,7 +122,7 @@ BOOST_AUTO_TEST_CASE(Johnson844LovaszThetaSDP)
/**
* Create an unweighted graph laplacian from the edges.
*/
-void createSparseGraphLaplacian(const arma::mat& edges,
+void CreateSparseGraphLaplacian(const arma::mat& edges,
arma::sp_mat& laplacian)
{
// Get the number of vertices in the problem.
@@ -149,7 +149,7 @@ BOOST_AUTO_TEST_CASE(ErdosRenyiRandomGraphMaxCutSDP)
data::Load("erdosrenyi-n100.csv", edges, true);
arma::sp_mat laplacian;
- createSparseGraphLaplacian(edges, laplacian);
+ CreateSparseGraphLaplacian(edges, laplacian);
float r = 0.5 + sqrt(0.25 + 2 * edges.n_cols);
if (ceil(r) > laplacian.n_rows)
@@ -199,7 +199,7 @@ BOOST_AUTO_TEST_CASE(Keller4LovaszThetaSDP)
// The LRSDP itself and the initial point.
arma::mat coordinates;
- createLovaszThetaInitialPoint(edges, coordinates);
+ CreateLovaszThetaInitialPoint(edges, coordinates);
LRSDP lovasz(edges.n_cols, coordinates);
More information about the mlpack-git
mailing list