This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Project name. | |
project(openvr_api) | |
set( LIBNAME "openvr_api" ) | |
# Set some properies for specific files. | |
if(APPLE) | |
set(CMAKE_MACOSX_RPATH 1) | |
if(CMAKE_SYSTEM_NAME MATCHES "Darwin") | |
set_source_files_properties(vrcommon/pathtools_public.cpp vrcommon/vrpathregistry_public.cpp PROPERTIES COMPILE_FLAGS "-x objective-c++") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Pool.h | |
// | |
#ifndef Tools_Thread_Pool_h | |
#define Tools_Thread_Pool_h | |
// ================================================================================ Standard Includes | |
// Standard Includes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Pool.h | |
// Tools/Thread | |
// | |
#ifndef Tools_Thread_Pool_h | |
#define Tools_Thread_Pool_h | |
// ================================================================================ Standard Includes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SmartObject.h | |
// | |
#ifndef Tools_Core_SmartObject_h | |
#define Tools_Core_SmartObject_h | |
// ================================================================================ Standard Includes | |
// Standard Includes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Mutatable_Value.h | |
// Tools/Genetics | |
// | |
#ifndef Tools_Genetics_Mutateable_Value_h | |
#define Tools_Genetics_Mutateable_Value_h | |
// ================================================================================ Standard Includes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -------------------------------------------------------------------- Types - Axon_Gene_Interface_Input_Fixed_t | |
using Axon_Gene_Interface_Input_Fixed_t = | |
NeuralNet::LSTM::Axon_Gene_Interface_Only | |
< | |
Mutatable_Index_t, | |
Mutatable_Weight_t, | |
NeuralNet::LSTM::Interface_Only_Mode_Select::Interface_Input_Only, | |
NeuralNet::LSTM::Interface_Only_Fixed::Yes | |
>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Axon_Gene.h | |
// Tools/NeuralNet/LSTM | |
// | |
#ifndef Tools_NeuralNet_LSTM_Axon_Gene_h | |
#define Tools_NeuralNet_LSTM_Axon_Gene_h | |
// ================================================================================ Tools Includes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template < typename container_t > | |
void BogoSort( container_t & data ) | |
{ | |
using std::begin; | |
using std::end; | |
std::random_device rd; | |
std::mt19937 ung( rd() ); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Random.h | |
// | |
#ifndef Tools_Random_h | |
#define Tools_Random_h | |
// ================================================================================ Standard Includes | |
// Standard Includes |