Skip to content

Commit

Permalink
Split sources into poly/templ/tool prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ithanil committed Apr 19, 2019
1 parent 106cb45 commit 948150c
Show file tree
Hide file tree
Showing 121 changed files with 218 additions and 218 deletions.
2 changes: 1 addition & 1 deletion benchmark/bench_actfs_derivs/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <random>

#include "qnets/actf/ActivationFunctionManager.hpp"
#include "qnets/poly/actf/ActivationFunctionManager.hpp"

#include "FFNNBenchmarks.hpp"

Expand Down
4 changes: 2 additions & 2 deletions benchmark/bench_actfs_ffprop/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include <iostream>
#include <random>

#include "qnets/actf/ActivationFunctionManager.hpp"
#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/actf/ActivationFunctionManager.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"

#include "FFNNBenchmarks.hpp"

Expand Down
2 changes: 1 addition & 1 deletion benchmark/bench_nunits_ffprop/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <random>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"

#include "FFNNBenchmarks.hpp"

Expand Down
2 changes: 1 addition & 1 deletion benchmark/common/FFNNBenchmarks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <tuple>

#include "Timer.hpp"
#include "qnets/FeedForwardNeuralNetwork.hpp"
#include "qnets/poly/FeedForwardNeuralNetwork.hpp"

inline double benchmark_FFPropagate(FeedForwardNeuralNetwork * const ffnn, const double * const xdata, const int neval)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_actf/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"


class MyActivationFunction: public ActivationFunctionInterface
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_basic/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_beta/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_features/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <random>

#include "qnets/train/NNTrainerGSL.hpp"
#include "qnets/poly/train/NNTrainerGSL.hpp"


/*
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_fit/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <iostream>
#include <random>

#include "qnets/train/NNTrainerGSL.hpp"
#include "qnets/poly/train/NNTrainerGSL.hpp"


/*
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_loadfile/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_plot/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_propagate/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_vderiv/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"


int main()
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_xderiv/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <fstream>
#include <iostream>

#include "qnets/io/PrintUtilities.hpp"
#include "qnets/poly/io/PrintUtilities.hpp"


int main()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#ifndef FFNN_NET_FEEDFORWARDNEURALNETWORK_HPP
#define FFNN_NET_FEEDFORWARDNEURALNETWORK_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/fmap/FeatureMapLayer.hpp"
#include "qnets/layer/FedLayer.hpp"
#include "qnets/layer/InputLayer.hpp"
#include "qnets/layer/NNLayer.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/layer/OutputNNLayer.hpp"
#include "qnets/unit/NetworkUnit.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/fmap/FeatureMapLayer.hpp"
#include "qnets/poly/layer/FedLayer.hpp"
#include "qnets/poly/layer/InputLayer.hpp"
#include "qnets/poly/layer/NNLayer.hpp"
#include "qnets/poly/layer/NetworkLayer.hpp"
#include "qnets/poly/layer/OutputNNLayer.hpp"
#include "qnets/poly/unit/NetworkUnit.hpp"

#include <cstddef>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_ACTIVATIONFUNCTIONINTERFACE_HPP
#define FFNN_ACTF_ACTIVATIONFUNCTIONINTERFACE_HPP

#include "qnets/serial/SerializableComponent.hpp"
#include "qnets/poly/serial/SerializableComponent.hpp"

#include <cmath>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
#define FFNN_ACTF_ACTIVATIONFUNCTIONMANAGER_HPP


#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/actf/ExponentialActivationFunction.hpp"
#include "qnets/actf/GaussianActivationFunction.hpp"
#include "qnets/actf/IdentityActivationFunction.hpp"
#include "qnets/actf/LogisticActivationFunction.hpp"
#include "qnets/actf/ReLUActivationFunction.hpp"
#include "qnets/actf/SELUActivationFunction.hpp"
#include "qnets/actf/SRLUActivationFunction.hpp"
#include "qnets/actf/SineActivationFunction.hpp"
#include "qnets/actf/TanSigmoidActivationFunction.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ExponentialActivationFunction.hpp"
#include "qnets/poly/actf/GaussianActivationFunction.hpp"
#include "qnets/poly/actf/IdentityActivationFunction.hpp"
#include "qnets/poly/actf/LogisticActivationFunction.hpp"
#include "qnets/poly/actf/ReLUActivationFunction.hpp"
#include "qnets/poly/actf/SELUActivationFunction.hpp"
#include "qnets/poly/actf/SRLUActivationFunction.hpp"
#include "qnets/poly/actf/SineActivationFunction.hpp"
#include "qnets/poly/actf/TanSigmoidActivationFunction.hpp"

#include <string>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_EXPONENTIALACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_EXPONENTIALACTIVATIONFUNCTION_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>

class ExponentialActivationFunction: public ActivationFunctionInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_GAUSSIANACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_GAUSSIANACTIVATIONFUNCTION_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define FFNN_ACTF_IDENTITYACTIVATIONFUNCTION_HPP


#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>

class IdentityActivationFunction: public ActivationFunctionInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_LOGISTICACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_LOGISTICACTIVATIONFUNCTION_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>

class LogisticActivationFunction: public ActivationFunctionInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_RELUACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_RELUACTIVATIONFUNCTION_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_SELUACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_SELUACTIVATIONFUNCTION_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>

class SELUActivationFunction: public ActivationFunctionInterface
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_SRLUACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_SRLUACTIVATIONFUNCTION_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>

// Smooth Rectified Linear Unit ( == ln(1+exp(x)) )
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_SINEACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_SINEACTIVATIONFUNCTION_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_ACTF_TANSIGMOIDACTIVATIONFUNCTION_HPP
#define FFNN_ACTF_TANSIGMOIDACTIVATIONFUNCTION_HPP

#include "qnets/actf/ActivationFunctionInterface.hpp"
#include "qnets/poly/actf/ActivationFunctionInterface.hpp"
#include <string>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef FFNN_FEED_FEEDERINTERFACE_HPP
#define FFNN_FEED_FEEDERINTERFACE_HPP

#include "qnets/serial/SerializableComponent.hpp"
#include "qnets/poly/serial/SerializableComponent.hpp"

#include <stdexcept>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef FFNN_FEED_NNRAY_HPP
#define FFNN_FEED_NNRAY_HPP

#include "qnets/feed/WeightedFeeder.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/poly/feed/WeightedFeeder.hpp"
#include "qnets/poly/layer/NetworkLayer.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#ifndef FFNN_FEED_SMARTBETAGENERATOR_HPP
#define FFNN_FEED_SMARTBETAGENERATOR_HPP

#include "qnets/feed/FeederInterface.hpp"
#include "qnets/feed/NNRay.hpp"
#include "qnets/layer/FedLayer.hpp"
#include "qnets/FeedForwardNeuralNetwork.hpp"
#include "qnets/poly/feed/FeederInterface.hpp"
#include "qnets/poly/feed/NNRay.hpp"
#include "qnets/poly/layer/FedLayer.hpp"
#include "qnets/poly/FeedForwardNeuralNetwork.hpp"


namespace smart_beta
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef FFNN_FEED_STATICFEEDER_HPP
#define FFNN_FEED_STATICFEEDER_HPP

#include "qnets/feed/FeederInterface.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/unit/NetworkUnit.hpp"
#include "qnets/poly/feed/FeederInterface.hpp"
#include "qnets/poly/layer/NetworkLayer.hpp"
#include "qnets/poly/unit/NetworkUnit.hpp"

#include <string>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef FFNN_FEED_VARIABLEFEEDER_HPP
#define FFNN_FEED_VARIABLEFEEDER_HPP

#include "qnets/feed/FeederInterface.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/unit/NetworkUnit.hpp"
#include "qnets/poly/feed/FeederInterface.hpp"
#include "qnets/poly/layer/NetworkLayer.hpp"
#include "qnets/poly/unit/NetworkUnit.hpp"

#include <string>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef FFNN_FEED_WEIGHTEDFEEDER_HPP
#define FFNN_FEED_WEIGHTEDFEEDER_HPP

#include "qnets/feed/VariableFeeder.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/unit/NetworkUnit.hpp"
#include "qnets/poly/feed/VariableFeeder.hpp"
#include "qnets/poly/layer/NetworkLayer.hpp"
#include "qnets/poly/unit/NetworkUnit.hpp"

#include <string>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef ACTIVATION_MAP_UNIT
#define ACTIVATION_MAP_UNIT

#include "qnets/unit/FedActivationUnit.hpp"
#include "qnets/feed/FeederInterface.hpp"
#include "qnets/poly/unit/FedActivationUnit.hpp"
#include "qnets/poly/feed/FeederInterface.hpp"

#include <stdexcept>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef FFNN_FMAP_EUCLIDEANDISTANCEMAP_HPP
#define FFNN_FMAP_EUCLIDEANDISTANCEMAP_HPP

#include "qnets/fmap/MultiDimStaticMap.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/poly/fmap/MultiDimStaticMap.hpp"
#include "qnets/poly/layer/NetworkLayer.hpp"

#include <cstddef>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef FFNN_FMAP_EUCLIDEANDISTANCEMAPUNIT_HPP
#define FFNN_FMAP_EUCLIDEANDISTANCEMAPUNIT_HPP

#include "qnets/fmap/EuclideanDistanceMap.hpp"
#include "qnets/fmap/FeatureMapUnit.hpp"
#include "qnets/poly/fmap/EuclideanDistanceMap.hpp"
#include "qnets/poly/fmap/FeatureMapUnit.hpp"

#include <string>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef FFNN_FMAP_EUCLIDEANPAIRDISTANCEMAP_HPP
#define FFNN_FMAP_EUCLIDEANPAIRDISTANCEMAP_HPP

#include "qnets/fmap/MultiDimStaticMap.hpp"
#include "qnets/layer/NetworkLayer.hpp"
#include "qnets/poly/fmap/MultiDimStaticMap.hpp"
#include "qnets/poly/layer/NetworkLayer.hpp"

// takes coordinates on input side and calculates squared euclidean distance of a pair
class EuclideanPairDistanceMap: public MultiDimStaticMap
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef FFNN_FMAP_EUCLIDEANPAIRDISTANCEMAPUNIT_HPP
#define FFNN_FMAP_EUCLIDEANPAIRDISTANCEMAPUNIT_HPP

#include "qnets/fmap/EuclideanPairDistanceMap.hpp"
#include "qnets/fmap/FeatureMapUnit.hpp"
#include "qnets/poly/fmap/EuclideanPairDistanceMap.hpp"
#include "qnets/poly/fmap/FeatureMapUnit.hpp"

#include <string>

Expand Down
Loading

0 comments on commit 948150c

Please sign in to comment.