repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
null
AMGX-main/include/cusp/relaxation/jacobi.h
/* * Copyright 2008-2009 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
1,926
28.646154
96
h
null
AMGX-main/include/aggregation/coarseAgenerators/low_deg_coarse_A_generator.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
5,176
41.434426
132
h
null
AMGX-main/include/convergence/convergence.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
5,472
35.97973
129
h
null
AMGX-main/include/energymin/selectors/em_selector.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
6,722
41.550633
129
h
null
AMGX-main/include/energymin/interpolators/em_interpolator.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,895
39.164948
129
h
null
AMGX-main/include/energymin/interpolators/common.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
4,438
29.197279
99
h
null
AMGX-main/include/eigensolvers/multivector_operations.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
2,209
41.5
98
h
null
AMGX-main/include/eigensolvers/jacobi_davidson_eigensolver.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,378
36.544444
104
h
null
AMGX-main/include/eigensolvers/eigenvector_solver.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
2,884
36.467532
84
h
null
AMGX-main/include/eigensolvers/single_iteration_eigensolver.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,245
36.744186
104
h
null
AMGX-main/include/eigensolvers/qr.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
2,599
37.235294
84
h
null
AMGX-main/include/eigensolvers/subspace_iteration_eigensolver.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,050
37.1375
104
h
null
AMGX-main/include/eigensolvers/lobpcg_eigensolver.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,115
34.816092
104
h
null
AMGX-main/include/eigensolvers/lanczos_eigensolver.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,151
36.082353
104
h
null
AMGX-main/include/eigensolvers/arnoldi_eigensolver.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,076
36.072289
104
h
null
AMGX-main/include/cycles/convergence_analysis.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,319
30.923077
102
h
null
AMGX-main/include/distributed/amgx_omp.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
1,763
43.1
74
h
null
AMGX-main/include/distributed/comms_mpi_gpudirect.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
5,746
40.345324
121
h
null
AMGX-main/include/distributed/amgx_mpi.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
1,747
38.727273
74
h
null
AMGX-main/include/distributed/comms_mpi.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,251
34.347826
121
h
null
AMGX-main/include/operators/pagerank_operator.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
4,148
29.284672
106
h
null
AMGX-main/include/operators/shifted_operator.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,916
29.130769
90
h
null
AMGX-main/include/operators/operator.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,322
39.036145
102
h
null
AMGX-main/include/operators/deflated_multiply_operator.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
4,441
28.03268
91
h
null
AMGX-main/include/operators/solver_operator.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
4,794
30.136364
98
h
null
AMGX-main/include/operators/solve_operator.h
/* Copyright (c) 2013-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
4,172
28.181818
90
h
null
AMGX-main/include/solvers/dense_lu_solver.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
6,739
40.604938
98
h
null
AMGX-main/include/classical/strength/strength.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,867
40.148936
129
h
null
AMGX-main/include/classical/selectors/cr.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
5,732
40.846715
96
h
null
AMGX-main/include/classical/selectors/selector.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
9,413
40.654867
129
h
null
AMGX-main/include/classical/interpolators/interpolator.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
3,932
40.4
129
h
null
AMGX-main/include/classical/interpolators/common.h
/* Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
2,490
33.597222
91
h
stixels
stixels-master/configuration.h
/** This file is part of stixels. (https://github.com/dhernandez0/stixels). Copyright (c) 2016 Daniel Hernandez Juarez. stixels is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version ...
950
30.7
75
h
stixels
stixels-master/RoadEstimation.h
/** This file is part of stixels. (https://github.com/dhernandez0/stixels). Copyright (c) 2016 Daniel Hernandez Juarez. stixels is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version ...
3,048
32.877778
102
h
stixels
stixels-master/util.h
/** This file is part of stixels. (https://github.com/dhernandez0/stixels). Copyright (c) 2016 Daniel Hernandez Juarez. stixels is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version ...
1,523
32.130435
106
h
stixels
stixels-master/StixelsKernels.h
/** This file is part of stixels. (https://github.com/dhernandez0/stixels). Copyright (c) 2016 Daniel Hernandez Juarez. stixels is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version ...
2,379
31.162162
101
h
stixels
stixels-master/RoadEstimationKernels.h
/** This file is part of stixels. (https://github.com/dhernandez0/stixels). Copyright (c) 2016 Daniel Hernandez Juarez. stixels is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version ...
1,332
38.205882
101
h
LDEAlgsComparison
LDEAlgsComparison-master/src/ldealg.h
#ifndef LDEALG_H__ #define LDEALG_H__ #include <vector> #include <utility> #include <array> using namespace std; struct LDEAlg { LDEAlg(); bool isLeq(const pair<vector<int>, vector<int>> &x, const vector<int> &y); bool isLeq(const vector<int> &x, const vector<int> &y); void addSolution(const vector<int> &sol)...
592
22.72
76
h
LDEAlgsComparison
LDEAlgsComparison-master/src/ldegraphalg.h
#ifndef LDEGRAPHALG_H__ #define LDEGRAPHALG_H__ #include <vector> #include <utility> using namespace std; struct LDEGraphAlg { LDEGraphAlg(); LDEGraphAlg(const vector<int> &a, const vector<int> &b, int c = 0); void graphAlg(int diff, int apos, int bpos); bool isMinimal(int diff, int apos, int bpos); void ad...
608
21.555556
69
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/tests/object.h
#if !defined(__OBJECT_H) # define __OBJECT_H # include "constructor_stats.h" # include <atomic> /// Reference counted object base class class Object { public: /// Default constructor Object() { print_default_created(this); } /// Copy constructor Object(const Object &) : m_refCount(0) { prin...
5,743
26.883495
98
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/tests/constructor_stats.h
#pragma once /* tests/constructor_stats.h -- framework for printing and tracking object instance lifetimes in example/test code. Copyright (c) 2016 Jason Rhinelander <jason@imaginary.ca> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENS...
11,734
35.331269
98
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/tests/local_bindings.h
#pragma once #include "pybind11_tests.h" #include <utility> /// Simple class used to test py::local: template <int> class LocalBase { public: explicit LocalBase(int i) : i(i) {} int i = -1; }; /// Registered with py::module_local in both main and secondary modules: using LocalType = LocalBase<0>; /// Registe...
2,847
29.623656
96
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/tests/pybind11_tests.h
#pragma once #include <pybind11/eval.h> #include <pybind11/pybind11.h> namespace py = pybind11; using namespace pybind11::literals; class test_initializer { using Initializer = void (*)(py::module_ &); public: explicit test_initializer(Initializer init); test_initializer(const char *submodule_name, Init...
2,685
30.232558
131
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/chrono.h
/* pybind11/chrono.h: Transparent conversion between std::chrono and python's datetime Copyright (c) 2016 Trent Houliston <trent@houliston.me> and Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be foun...
8,458
36.429204
98
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/attr.h
/* pybind11/attr.h: Infrastructure for processing custom type and function attributes Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "detail/com...
23,883
34.279173
99
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/options.h
/* pybind11/options.h: global settings that are configurable at runtime. Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "detail/common.h" PYBIND11_...
2,181
27.337662
96
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/operators.h
/* pybind11/operator.h: Metatemplates for operator overloading Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" PYBIND11_NAMESPACE_BEGIN...
9,051
43.811881
99
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/gil.h
/* pybind11/gil.h: RAII helpers for managing the GIL Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "detail/common.h" #include "detail/internals.h" ...
6,923
33.108374
90
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/complex.h
/* pybind11/complex.h: Complex number support Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include <complex> /// glibc defines I a...
2,096
26.96
98
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/stl.h
/* pybind11/stl.h: Transparent conversion for STL data types Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include "detail/common.h" ...
14,535
33.122066
99
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/functional.h
/* pybind11/functional.h: std::function<> support Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include <functional> PYBIND11_NAMES...
4,658
34.564885
96
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/iostream.h
/* pybind11/iostream.h -- Tools to assist with redirecting cout and cerr to Python Copyright (c) 2017 Henry F. Schreiner All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. WARNING: The implementation in this file is NOT thread sa...
8,851
32.278195
96
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/embed.h
/* pybind11/embed.h: Support for embedding the interpreter Copyright (c) 2017 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "pybind11.h" #include "eval.h" #include <...
10,728
41.240157
99
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/buffer_info.h
/* pybind11/buffer_info.h: Python buffer object interface Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "detail/common.h" PYBIND11_NAMESPACE_BEGIN...
7,069
35.443299
97
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/eval.h
/* pybind11/eval.h: Support for evaluating Python expressions and statements from strings and files Copyright (c) 2016 Klemens Morgenstern <klemens.morgenstern@ed-chemnitz.de> and Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a ...
4,731
29.140127
93
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/detail/init.h
/* pybind11/detail/init.h: init factory function implementation and support code. Copyright (c) 2017 Jason Rhinelander <jason@imaginary.ca> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "class.h" PYBIN...
17,971
40.892774
99
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/detail/internals.h
/* pybind11/detail/internals.h: Internal data structure and related functions Copyright (c) 2017 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "../pytypes.h" #includ...
23,981
41.672598
99
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/detail/descr.h
/* pybind11/detail/descr.h: Helper type for concatenating type signatures at compile time Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "common.h" ...
5,491
33.540881
98
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/pybind11/include/pybind11/detail/typeid.h
/* pybind11/detail/typeid.h: Compiler-independent access to type identifiers Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include <cstdio> #include <cstdl...
1,513
24.233333
81
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/src/sofm/utils.h
#pragma once #include <Eigen/Core> #include "sofm/types.h" #include <iostream> namespace sofm { namespace utils { inline double max_norm(const VectorConstRef x) { return x.lpNorm<1>(); } inline Vector fuzzy_and(const VectorConstRef x, const VectorConstRef y) { return x.cwiseM...
592
20.962963
110
h
curiosity_baselines
curiosity_baselines-master/rlpyt/models/curiosity/sofm/src/sofm/art/OnlineFuzzyArt.h
#pragma once #include <vector> #include <Eigen/Core> #include <limits> #include "sofm/types.h" namespace sofm { namespace art { class OnlineFuzzyART { private: double rho_; double alpha_; double beta_; int num_features_; int n...
791
23
121
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/RobustDubins_Path.h
#ifndef ROBUST_DUBINS_PATH_H #define ROBUST_DUBINS_PATH_H #include<vector> #include<string> #include<RobustDubins_Problem.h> namespace RobustDubins { // The RobustDubins::Path object can be used on its own (e.g., to draw a Dubins // path with known parameters, or it can be the output of // the RobustDubins::Solver...
7,818
35.367442
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/VSDNLP.h
// Copyright (C) 2005, 2007 International Business Machines and others. // All Rights Reserved. // This code is published under the Eclipse Public License. // // $Id: hs071_nlp.hpp 1861 2010-12-21 21:34:47Z andreasw $ // // Authors: Carl Laird, Andreas Waechter IBM 2005-08-09 #ifndef VSD_NLP #define VSD_NLP /...
7,119
34.959596
102
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/MathToolsArma_Polytopes.h
// MathTools_Polytopes.h #ifndef MATH_TOOLS_POLYTOPES_H #define MATH_TOOLS_POLYTOPES_H #include<armadillo> namespace MathTools { // ----------------------------------------------- // VERTEX ENUMERATION // ----------------------------------------------- // Returns a matrix with rows corresponding to the vertices of...
3,433
38.471264
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/VSDUtils.h
// VSDUtils.h // Provides utilities for the VariableSpeedDubinsSolver // Last Modefied: 18-Jan-2016, Artur Wolek #ifndef VSDUTILS_H #define VSDUTILS_H // C++ headers #include<string> // external headers #include<armadillo> //custom #include<MathTools.h> #include<MathToolsArma.h> #include <VSDPath.h> namespace Var...
9,097
43.598039
104
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/RobustDubins_Utils.h
#ifndef ROBUST_DUBINS_UTILS_H #define ROBUST_DUBINS_UTILS_H #include<vector> #include<string> #include<assert.h> typedef std::vector<double> vd; typedef std::vector<int> vi; namespace RobustDubins { void DubinsChain( double turnRadius, double maxSpacing, vd xPts, vd yPts, vd hRadPts, vd & xPath,...
3,397
37.613636
86
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/VSDPath.h
// VSDPath.h // Provides functions for defining and displaying a Variable Speed Dubins path. // Last Modefied: 18-Jan-2016, Artur Wolek #ifndef VSDPATH_H #define VSDPATH_H // C++ headers #include<vector> #include<string> // external #include<armadillo> // custom headers #include<VSDProblem.h> typedef struct Wind {...
6,937
31.57277
79
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/RobustDubins_Problem.h
#ifndef ROBUST_DUBINS_PROBLEM_H #define ROBUST_DUBINS_PROBLEM_H #include<iostream> #include<vector> #include<string> #include<RobustDubins_Utils.h> namespace RobustDubins { // The RobustDubins::Problem object is mainly used to define a problem as an // input for the RobustDubins::Solver class Problem { publi...
2,843
25.579439
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/MathToolsArma_Combinatronics.h
// MathToolsArma_Combinatornics.h #ifndef MATH_TOOLS_ARMA_COMBINATRONICS_H #define MATH_TOOLS_ARMA_COMBINATRONICS_H #include<armadillo> #include<MathToolsArma_Combinatronics.h> #include<MathToolsArma_Polytopes.h> namespace MathTools { // return all n! permutations of vector x of dimension n, as rows of a matrix arm...
1,029
29.294118
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/MathToolsArma_VectorOperators.h
// MathToolsArma_VectorOperators.h // Provides some basic vector operations. #ifndef MATH_TOOLS_ARMA_VECTOR_OPERATORS_H #define MATH_TOOLS_ARMA_VECTOR_OPERATORS_H // standard C++ headers #include<vector> // std::vector // external #include<armadillo> //#include<MathTools_VectorOperators.h> namespace MathTools { //...
3,246
34.293478
78
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/MathToolsArma_Geometry.h
// MathToolsArma_Geometry.h #ifndef MATH_TOOLS_ARMA_GEOMETRY_H #define MATH_TOOLS_ARMA_GEOMETRY_H // C++ standard #include<vector> // external #include<armadillo> #include<MathToolsArma_Geometry.h> namespace MathTools{ // calculate the arc-length of a curve given as y = f(x) void arclength(arma::vec &x, arma::vec...
2,137
34.633333
81
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/MathTools.h
#ifndef MATH_TOOLS_VECTOR_OPERATORS_H #define MATH_TOOLS_VECTOR_OPERATORS_H // standard C++ headers #include<vector> // std::vector #include<cmath> // floor, cos, M_PI #include<algorithm> //std::min_element #include<iostream> #include<fstream> #include<string> #include<math.h> #include<iomanip> // std::setprecisi...
5,086
34.573427
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/MathToolsArma_OctavePlotting.h
// MathToolsArma_OctavePlotting.h // Provides a set of plotting tools for use with GNU Octave. #ifndef MATH_TOOLS_ARMA_PLOTTING_TOOLS_H #define MATH_TOOLS_ARMA_PLOTTING_TOOLS_H // standard headers #include<vector> #include<string> #include<MathToolsArma_OctavePlotting.h> namespace MathTools { // Generates octave c...
2,308
36.241935
77
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/VSDProblem.h
// Problem.h // Defines a planar path planning problem. // Last Modefied: 31-Jan-2015, Artur Wolek #ifndef VSDPROBLEM_H #define VSDPROBLEM_H // C++ headers #include<vector> #include<string> // external headers #include<armadillo> // custom #include<VSDPath.h> #include<VSDUtils.h> namespace VarSpeedDubins { class ...
2,550
23.76699
75
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins/src/RobustDubins_Solver.h
#ifndef ROBUST_DUBINS_SOLVER_H #define ROBUST_DUBINS_SOLVER_H #include<vector> #include<string> #include<RobustDubins_Problem.h> #include<RobustDubins_Path.h> #include<RobustDubins_Utils.h> namespace RobustDubins { class Solver{ public: // problem statement RobustDubins::Problem m_problemStatementInput; // may ...
4,145
33.55
80
h
tstar-epsilon
tstar-epsilon-master/c/include/Robot.h
// // Created by doron.pinsky on 29/01/2020. // #ifndef ROBOT_H #define ROBOT_H class Robot { public: Robot(); void setuMax(double uMaxIn); void setvMax(double vMaxIn); void setvMin(double vMinIn); void setEta(double etaIn); void setNumOfOreintations(int orientationI...
973
20.644444
53
h
tstar-epsilon
tstar-epsilon-master/c/include/tstar.h
#ifndef TSTAR_H #define TSTAR_H #include "tstar_imp.h" #ifdef __cplusplus extern "C" { #endif #ifdef _WIN32 # ifdef TSTAR_API_EXPORTS # define TSTAR_API __declspec(dllexport) # else # define TSTAR_API __declspec(dllimport) # endif #else # define TSTAR_API #endif TSTAR_API void* tstar_create(int* map, i...
761
22.8125
116
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/RobustDubins_Path.h
#ifndef ROBUST_DUBINS_PATH_H #define ROBUST_DUBINS_PATH_H #include<vector> #include<string> #include<RobustDubins_Problem.h> namespace RobustDubins { // The RobustDubins::Path object can be used on its own (e.g., to draw a Dubins // path with known parameters, or it can be the output of // the RobustDubins::Solver...
7,712
36.26087
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/VSDNLP.h
// Copyright (C) 2005, 2007 International Business Machines and others. // All Rights Reserved. // This code is published under the Eclipse Public License. // // $Id: hs071_nlp.hpp 1861 2010-12-21 21:34:47Z andreasw $ // // Authors: Carl Laird, Andreas Waechter IBM 2005-08-09 #ifndef VSD_NLP #define VSD_NLP /...
7,202
35.19598
102
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/MathToolsArma_Polytopes.h
// MathTools_Polytopes.h #ifndef MATH_TOOLS_POLYTOPES_H #define MATH_TOOLS_POLYTOPES_H #include<armadillo> namespace MathTools { // ----------------------------------------------- // VERTEX ENUMERATION // ----------------------------------------------- // Returns a matrix with rows corresponding to the vertices of...
3,433
38.471264
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/VSDUtils.h
// VSDUtils.h // Provides utilities for the VariableSpeedDubinsSolver // Last Modefied: 18-Jan-2016, Artur Wolek #ifndef VSDUTILS_H #define VSDUTILS_H // C++ headers #include<string> // external headers #include<armadillo> //custom #include<MathTools.h> #include<MathToolsArma.h> namespace VarSpeedDubins { // ---...
8,911
42.901478
86
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/RobustDubins_Utils.h
#ifndef ROBUST_DUBINS_UTILS_H #define ROBUST_DUBINS_UTILS_H #include<vector> #include<string> #include<assert.h> typedef std::vector<double> vd; typedef std::vector<int> vi; namespace RobustDubins { void DubinsChain( double turnRadius, double maxSpacing, vd xPts, vd yPts, vd hRadPts, vd & xPath,...
3,397
37.613636
86
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/VSDPath.h
// VSDPath.h // Provides functions for defining and displaying a Variable Speed Dubins path. // Last Modefied: 18-Jan-2016, Artur Wolek #ifndef VSDPATH_H #define VSDPATH_H // C++ headers #include<vector> #include<string> // external #include<armadillo> // custom headers #include<VSDProblem.h> // custom namespace V...
6,552
32.605128
79
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/RobustDubins_Problem.h
#ifndef ROBUST_DUBINS_PROBLEM_H #define ROBUST_DUBINS_PROBLEM_H #include<iostream> #include<vector> #include<string> #include<RobustDubins_Utils.h> namespace RobustDubins { // The RobustDubins::Problem object is mainly used to define a problem as an // input for the RobustDubins::Solver class Problem { priva...
2,740
26.41
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/MathToolsArma_Combinatronics.h
// MathToolsArma_Combinatornics.h #ifndef MATH_TOOLS_ARMA_COMBINATRONICS_H #define MATH_TOOLS_ARMA_COMBINATRONICS_H #include<armadillo> #include<MathToolsArma_Combinatronics.h> #include<MathToolsArma_Polytopes.h> namespace MathTools { // return all n! permutations of vector x of dimension n, as rows of a matrix arm...
1,029
29.294118
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/MathToolsArma_VectorOperators.h
// MathToolsArma_VectorOperators.h // Provides some basic vector operations. #ifndef MATH_TOOLS_ARMA_VECTOR_OPERATORS_H #define MATH_TOOLS_ARMA_VECTOR_OPERATORS_H // standard C++ headers #include<vector> // std::vector // external #include<armadillo> //#include<MathTools_VectorOperators.h> namespace MathTools { //...
3,246
34.293478
78
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/MathToolsArma_Geometry.h
// MathToolsArma_Geometry.h #ifndef MATH_TOOLS_ARMA_GEOMETRY_H #define MATH_TOOLS_ARMA_GEOMETRY_H // C++ standard #include<vector> // external #include<armadillo> #include<MathToolsArma_Geometry.h> namespace MathTools{ // calculate the arc-length of a curve given as y = f(x) void arclength(arma::vec &x, arma::vec...
2,137
34.633333
81
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/MathTools.h
#ifndef MATH_TOOLS_VECTOR_OPERATORS_H #define MATH_TOOLS_VECTOR_OPERATORS_H // standard C++ headers #include<vector> // std::vector #include<cmath> // floor, cos, M_PI #include<algorithm> //std::min_element #include<iostream> #include<fstream> #include<string> #include<math.h> #include<iomanip> // std::setprecisi...
5,086
34.573427
80
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/MathToolsArma_OctavePlotting.h
// MathToolsArma_OctavePlotting.h // Provides a set of plotting tools for use with GNU Octave. #ifndef MATH_TOOLS_ARMA_PLOTTING_TOOLS_H #define MATH_TOOLS_ARMA_PLOTTING_TOOLS_H // standard headers #include<vector> #include<string> #include<MathToolsArma_OctavePlotting.h> namespace MathTools { // Generates octave c...
2,308
36.241935
77
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/VSDProblem.h
// Problem.h // Defines a planar path planning problem. // Last Modefied: 31-Jan-2015, Artur Wolek #ifndef VSDPROBLEM_H #define VSDPROBLEM_H // C++ headers #include<vector> #include<string> // external headers #include<armadillo> // custom #include<VSDPath.h> #include<VSDUtils.h> namespace VarSpeedDubins { class ...
2,369
24.212766
75
h
tstar-epsilon
tstar-epsilon-master/VarSpeedDubins_original/src/RobustDubins_Solver.h
#ifndef ROBUST_DUBINS_SOLVER_H #define ROBUST_DUBINS_SOLVER_H #include<vector> #include<string> #include<RobustDubins_Problem.h> #include<RobustDubins_Path.h> #include<RobustDubins_Utils.h> namespace RobustDubins { class Solver{ private: // problem statement RobustDubins::Problem m_problemStatementInput; // may...
4,000
33.491379
80
h
slowhttptest
slowhttptest-master/src/slowstats.h
/***************************************************************************** * Copyright 2011 Victor Agababov, Sergey Shekyan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://...
3,097
25.93913
80
h
slowhttptest
slowhttptest-master/src/range-request-generator.h
// (c) Victor Agababov (vagababov@gmail.com) 2011 // Not reserving most of the rights. #ifndef _RANGE_REQUEST_GENERATOR_H_ #define _RANGE_REQUEST_GENERATOR_H_ #include <string> namespace slowhttptest { // Generates a VERB request with repeating range fields, consisting of // start-0, start-1, ..., start-limit blocks...
942
35.269231
83
h
slowhttptest
slowhttptest-master/src/text-generator.h
/***************************************************************************** * Copyright 2011 Victor Agababov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
1,628
28.089286
80
h
slowhttptest
slowhttptest-master/src/slowhttptest.h
/***************************************************************************** * Copyright 2011 Sergey Shekyan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
3,732
24.222973
80
h
slowhttptest
slowhttptest-master/src/slowurl.h
/***************************************************************************** * Copyright 2011 Sergey Shekyan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache...
2,205
20.627451
81
h
slowhttptest
slowhttptest-master/src/slowlog.h
/***************************************************************************** * Copyright 2011 Sergey Shekyan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
2,418
26.804598
80
h
slowhttptest
slowhttptest-master/src/range-generator.h
#ifndef _RANGE_GENERATOR_H_ #define _RANGE_GENERATOR_H_ /***************************************************************************** * Copyright 2011 Sergey Shekyan, Victor Agababov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
1,233
31.473684
80
h
slowhttptest
slowhttptest-master/src/slowsocket.h
/***************************************************************************** * Copyright 2011 Sergey Shekyan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
3,682
24.054422
80
h
slowhttptest
slowhttptest-master/src/socket.h
// Wrappers around sockets. // // (c) Victor Agababov (vagababov@gmail.com) 2011 // Apache license goes here. #ifndef _SLOW_HTTP_TEST_SOCKET_ #define _SLOW_HTTP_TEST_SOCKET_ #include <sys/socket.h> #include <sys/types.h> #include <netdb.h> namespace slowhttptest { // This class is a simple wrapper around BSD Socket...
1,224
25.06383
74
h