Home
last modified time | relevance | path

Searched refs:Cluster (Results 1 – 25 of 55) sorted by relevance

123

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java92 public List<Cluster<T>> cluster(final Collection<T> points, in cluster()
95 List<Cluster<T>> clusters = chooseInitialCenters(points, k, random); in cluster()
102 List<Cluster<T>> newClusters = new ArrayList<Cluster<T>>(); in cluster()
103 for (final Cluster<T> cluster : clusters) { in cluster()
126 newClusters.add(new Cluster<T>(newCenter)); in cluster()
145 assignPointsToClusters(final Collection<Cluster<T>> clusters, final Collection<T> points) { in assignPointsToClusters()
147 Cluster<T> cluster = getNearestCluster(clusters, p); in assignPointsToClusters()
161 private static <T extends Clusterable<T>> List<Cluster<T>>
165 final List<Cluster<T>> resultSet = new ArrayList<Cluster<T>>(); in chooseInitialCenters()
169 resultSet.add(new Cluster<T>(firstPoint)); in chooseInitialCenters()
[all …]
DCluster.java30 public class Cluster<T extends Clusterable<T>> implements Serializable { class
45 public Cluster(final T center) { in Cluster() method in Cluster
/external/libvpx/libvpx/third_party/libwebm/
Dmkvparser.hpp71 class Cluster;
84 long Parse(const Cluster*);
87 long long GetTimeCode(const Cluster*) const; // absolute, but not scaled
88 long long GetTime(const Cluster*) const; // absolute, and scaled (ns)
126 BlockEntry(Cluster*, long index);
132 const Cluster* GetCluster() const;
140 Cluster* const m_pCluster;
149 SimpleBlock(Cluster*, long index, long long start, long long size);
164 BlockGroup(Cluster*, long index,
848 class Cluster { class
[all …]
Dmkvparser.cpp684 Cluster** i = m_clusters; in ~Segment()
685 Cluster** j = m_clusters + count; in ~Segment()
688 Cluster* const p = *i++; in ~Segment()
1181 status = Cluster::HasBlockEntries(this, cluster_off, pos_, len_); in DoLoadCluster()
1225 Cluster* const pCluster = m_clusters[idx]; in DoLoadCluster()
1280 Cluster* const pCluster = Cluster::Create(this, idx, cluster_off); in DoLoadCluster()
1336 bool Segment::AppendCluster(Cluster* pCluster) { in AppendCluster()
1351 Cluster** const qq = new (std::nothrow) Cluster*[n]; in AppendCluster()
1355 Cluster** q = qq; in AppendCluster()
1356 Cluster** p = m_clusters; in AppendCluster()
[all …]
Dmkvmuxer.cpp1753 Cluster::Cluster(uint64 timecode, int64 cues_pos, uint64 timecode_scale) in Cluster() function in mkvmuxer::Cluster
1764 Cluster::~Cluster() {} in ~Cluster()
1766 bool Cluster::Init(IMkvWriter* ptr_writer) { in Init()
1774 bool Cluster::AddFrame(const Frame* const frame) { return DoWriteFrame(frame); } in AddFrame()
1776 bool Cluster::AddFrame(const uint8* data, uint64 length, uint64 track_number, in AddFrame()
1787 bool Cluster::AddFrameWithAdditional(const uint8* data, uint64 length, in AddFrameWithAdditional()
1806 bool Cluster::AddFrameWithDiscardPadding(const uint8* data, uint64 length, in AddFrameWithDiscardPadding()
1820 bool Cluster::AddMetadata(const uint8* data, uint64 length, uint64 track_number, in AddMetadata()
1832 void Cluster::AddPayloadSize(uint64 size) { payload_size_ += size; } in AddPayloadSize()
1834 bool Cluster::Finalize() { in Finalize()
[all …]
Dmkvmuxer.hpp851 class Cluster { class
856 Cluster(uint64 timecode, int64 cues_pos, uint64 timecode_scale);
857 ~Cluster();
993 LIBWEBM_DISALLOW_COPY_AND_ASSIGN(Cluster);
1400 Cluster** cluster_list_;
/external/libvpx/libwebm/mkvparser/
Dmkvparser.h69 class Cluster; variable
82 long Parse(const Cluster*);
85 long long GetTimeCode(const Cluster*) const; // absolute, but not scaled
86 long long GetTime(const Cluster*) const; // absolute, and scaled (ns)
124 BlockEntry(Cluster*, long index);
130 const Cluster* GetCluster() const;
138 Cluster* const m_pCluster;
147 SimpleBlock(Cluster*, long index, long long start, long long size);
162 BlockGroup(Cluster*, long index,
935 class Cluster {
[all …]
Dmkvparser.cc683 Cluster** i = m_clusters; in ~Segment()
684 Cluster** j = m_clusters + count; in ~Segment()
687 Cluster* const p = *i++; in ~Segment()
1180 status = Cluster::HasBlockEntries(this, cluster_off, pos_, len_); in DoLoadCluster()
1224 Cluster* const pCluster = m_clusters[idx]; in DoLoadCluster()
1279 Cluster* const pCluster = Cluster::Create(this, idx, cluster_off); in DoLoadCluster()
1335 bool Segment::AppendCluster(Cluster* pCluster) { in AppendCluster()
1350 Cluster** const qq = new (std::nothrow) Cluster*[n]; in AppendCluster()
1354 Cluster** q = qq; in AppendCluster()
1355 Cluster** p = m_clusters; in AppendCluster()
[all …]
/external/ImageMagick/MagickCore/
Dsegment.c149 } Cluster; typedef
256 Cluster in Classify()
292 cluster=(Cluster *) NULL; in Classify()
293 head=(Cluster *) NULL; in Classify()
308 if (head != (Cluster *) NULL) in Classify()
310 cluster->next=(Cluster *) AcquireMagickMemory( in Classify()
316 cluster=(Cluster *) AcquireMagickMemory(sizeof(*cluster)); in Classify()
319 if (cluster == (Cluster *) NULL) in Classify()
329 cluster->next=(Cluster *) NULL; in Classify()
333 if (head == (Cluster *) NULL) in Classify()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time.h40 struct Cluster { struct
41 Cluster() in Cluster() argument
96 const Cluster& cluster_aggregate);
98 static void AddCluster(std::list<Cluster>* clusters, Cluster* cluster);
118 void ComputeClusters(std::list<Cluster>* clusters) const;
120 std::list<Cluster>::const_iterator FindBestProbe(
121 const std::list<Cluster>& clusters) const
Dremote_bitrate_estimator_abs_send_time.cc80 const Cluster& cluster_aggregate) { in IsWithinClusterBounds()
89 std::list<Cluster>* clusters, in AddCluster()
90 Cluster* cluster) { in AddCluster()
123 std::list<Cluster>* clusters) const { in ComputeClusters()
124 Cluster current; in ComputeClusters()
139 current = Cluster(); in ComputeClusters()
153 std::list<Cluster>::const_iterator
155 const std::list<Cluster>& clusters) const { in FindBestProbe()
157 std::list<Cluster>::const_iterator best_it = clusters.end(); in FindBestProbe()
158 for (std::list<Cluster>::const_iterator it = clusters.begin(); in FindBestProbe()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
DbtSoftClusterCollisionShape.java63 public void setCluster(btSoftBody.Cluster value) { in setCluster()
64 …SoftbodyJNI.btSoftClusterCollisionShape_cluster_set(swigCPtr, this, btSoftBody.Cluster.getCPtr(val… in setCluster()
67 public btSoftBody.Cluster getCluster() { in getCluster()
69 return (cPtr == 0) ? null : new btSoftBody.Cluster(cPtr, false); in getCluster()
72 public btSoftClusterCollisionShape(btSoftBody.Cluster cluster) { in btSoftClusterCollisionShape()
73 …this(SoftbodyJNI.new_btSoftClusterCollisionShape(btSoftBody.Cluster.getCPtr(cluster), cluster), tr… in btSoftClusterCollisionShape()
DSoftbodyJNI.java325 …public final static native void btSoftBody_Cluster_masses_set(long jarg1, btSoftBody.Cluster jarg1… in btSoftBody_Cluster_masses_set()
326 …public final static native long btSoftBody_Cluster_masses_get(long jarg1, btSoftBody.Cluster jarg1… in btSoftBody_Cluster_masses_get()
327 …public final static native void btSoftBody_Cluster_nodes_set(long jarg1, btSoftBody.Cluster jarg1_… in btSoftBody_Cluster_nodes_set()
328 …public final static native long btSoftBody_Cluster_nodes_get(long jarg1, btSoftBody.Cluster jarg1_… in btSoftBody_Cluster_nodes_get()
329 …public final static native void btSoftBody_Cluster_framerefs_set(long jarg1, btSoftBody.Cluster ja… in btSoftBody_Cluster_framerefs_set()
330 …public final static native long btSoftBody_Cluster_framerefs_get(long jarg1, btSoftBody.Cluster ja… in btSoftBody_Cluster_framerefs_get()
331 …public final static native void btSoftBody_Cluster_framexform_set(long jarg1, btSoftBody.Cluster j… in btSoftBody_Cluster_framexform_set()
332 …public final static native long btSoftBody_Cluster_framexform_get(long jarg1, btSoftBody.Cluster j… in btSoftBody_Cluster_framexform_get()
333 …public final static native void btSoftBody_Cluster_idmass_set(long jarg1, btSoftBody.Cluster jarg1… in btSoftBody_Cluster_idmass_set()
334 …public final static native float btSoftBody_Cluster_idmass_get(long jarg1, btSoftBody.Cluster jarg… in btSoftBody_Cluster_idmass_get()
[all …]
DbtSoftBody.java1914 static public class Cluster extends BulletBase { class in btSoftBody
1917 protected Cluster(final String className, long cPtr, boolean cMemoryOwn) { in Cluster() method in btSoftBody.Cluster
1923 public Cluster(long cPtr, boolean cMemoryOwn) { in Cluster() method in btSoftBody.Cluster
1935 public static long getCPtr(Cluster obj) { in getCPtr()
2166 public Cluster() { in Cluster() method in btSoftBody.Cluster
2298 public void setSoft(btSoftBody.Cluster value) { in setSoft()
2299 … SoftbodyJNI.btSoftBody_Body_soft_set(swigCPtr, this, btSoftBody.Cluster.getCPtr(value), value); in setSoft()
2302 public btSoftBody.Cluster getSoft() { in getSoft()
2304 return (cPtr == 0) ? null : new btSoftBody.Cluster(cPtr, false); in getSoft()
2327 public Body(btSoftBody.Cluster p) { in Body()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBody.h319 struct Cluster struct
346 Cluster() : m_leaf(0),m_ndamping(0),m_ldamping(0),m_adamping(0),m_matching(0) in Cluster() argument
378 Cluster* m_soft;
383 Body(Cluster* p) : m_soft(p),m_rigid(0),m_collisionObject(0) {} in Body()
632 typedef btAlignedObjectArray<Cluster*> tClusterArray;
769 void appendLinearJoint(const LJoint::Specs& specs,Cluster* body0,Body body1);
773 void appendAngularJoint(const AJoint::Specs& specs,Cluster* body0,Body body1);
834 static btVector3 clusterCom(const Cluster* cluster);
837 static btVector3 clusterVelocity(const Cluster* cluster,const btVector3& rpos);
839 static void clusterVImpulse(Cluster* cluster,const btVector3& rpos,const btVector3& impulse);
[all …]
DbtSoftBodyInternals.h121 const btSoftBody::Cluster* m_cluster;
123 …btSoftClusterCollisionShape (const btSoftBody::Cluster* cluster) : m_cluster(cluster) { setMargin(… in btSoftClusterCollisionShape()
701 btSoftBody::Cluster* cluster=(btSoftBody::Cluster*)leaf->data; in Process()
759 btSoftBody::Cluster* cla=(btSoftBody::Cluster*)la->data; in Process()
760 btSoftBody::Cluster* clb=(btSoftBody::Cluster*)lb->data; in Process()
DbtSoftBody.cpp388 void btSoftBody::appendLinearJoint(const LJoint::Specs& specs,Cluster* body0,Body body1) in appendLinearJoint()
414 void btSoftBody::appendAngularJoint(const AJoint::Specs& specs,Cluster* body0,Body body1) in appendAngularJoint()
951 btVector3 btSoftBody::clusterCom(const Cluster* cluster) in clusterCom()
968 btVector3 btSoftBody::clusterVelocity(const Cluster* cluster,const btVector3& rpos) in clusterVelocity()
974 void btSoftBody::clusterVImpulse(Cluster* cluster,const btVector3& rpos,const btVector3& impulse) in clusterVImpulse()
984 void btSoftBody::clusterDImpulse(Cluster* cluster,const btVector3& rpos,const btVector3& impulse) in clusterDImpulse()
994 void btSoftBody::clusterImpulse(Cluster* cluster,const btVector3& rpos,const Impulse& impulse) in clusterImpulse()
1001 void btSoftBody::clusterVAImpulse(Cluster* cluster,const btVector3& impulse) in clusterVAImpulse()
1009 void btSoftBody::clusterDAImpulse(Cluster* cluster,const btVector3& impulse) in clusterDAImpulse()
1017 void btSoftBody::clusterAImpulse(Cluster* cluster,const Impulse& impulse) in clusterAImpulse()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp210 const ClusterBindings &Cluster = I.getData(); in dump() local
211 for (ClusterBindings::iterator CI = Cluster.begin(), CE = Cluster.end(); in dump()
242 ClusterBindings Cluster = in addBinding() local
245 ClusterBindings NewCluster = CBFactory->add(Cluster, K, V); in addBinding()
257 const ClusterBindings *Cluster = lookup(K.getBaseRegion()); in lookup() local
258 if (!Cluster) in lookup()
260 return Cluster->lookup(K); in lookup()
270 const ClusterBindings *Cluster = lookup(Base); in removeBinding() local
271 if (!Cluster) in removeBinding()
274 ClusterBindings NewCluster = CBFactory->remove(*Cluster, K); in removeBinding()
[all …]
/external/libvpx/libvpx/
Dwebmdec.cc50 const mkvparser::Cluster *const cluster = segment->GetFirst(); in get_first_cluster()
134 const mkvparser::Cluster* cluster = in webm_read_frame()
135 reinterpret_cast<const mkvparser::Cluster*>(webm_ctx->cluster); in webm_read_frame()
/external/skia/site/dev/testing/
Dskps.md10 + [Cluster Telemetry SKPs (for Googlers)](#ct_skps_googler)
21 * [Cluster Telemetry](https://skia.org/dev/testing/ct) SKPs are the much larger set (~900k) that ar…
54 ### Cluster Telemetry SKPs (for Googlers)
Dct.md1 Cluster Telemetry
18 Cluster Telemetry allows you to run [telemetry](https://www.chromium.org/developers/telemetry)'s be…
95 Cluster Telemetry is primarily written in Go with a few python scripts. The framework lives in [mas…
Dindex.md13 Cluster Telemetry is a powerful framework that helps us capture and benchmark
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/
Dsoftbody_wrap.cpp6339 btSoftBody::Cluster *arg1 = (btSoftBody::Cluster *) 0 ; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1masses_1set()
6346 arg1 = *(btSoftBody::Cluster **)&jarg1; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1masses_1set()
6354 btSoftBody::Cluster *arg1 = (btSoftBody::Cluster *) 0 ; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1masses_1get()
6360 arg1 = *(btSoftBody::Cluster **)&jarg1; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1masses_1get()
6368 btSoftBody::Cluster *arg1 = (btSoftBody::Cluster *) 0 ; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1nodes_1set()
6374 arg1 = *(btSoftBody::Cluster **)&jarg1; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1nodes_1set()
6382 btSoftBody::Cluster *arg1 = (btSoftBody::Cluster *) 0 ; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1nodes_1get()
6388 arg1 = *(btSoftBody::Cluster **)&jarg1; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1nodes_1get()
6396 btSoftBody::Cluster *arg1 = (btSoftBody::Cluster *) 0 ; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1framerefs_1set()
6403 arg1 = *(btSoftBody::Cluster **)&jarg1; in Java_com_badlogic_gdx_physics_bullet_softbody_SoftbodyJNI_btSoftBody_1Cluster_1framerefs_1set()
[all …]
/external/tcpdump/tests/
Dbgp_vpn_attrset.out15 Cluster List (10), length: 4, Flags [O]: 22.5.5.5
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h137 typedef std::list<Scalar> Cluster; typedef
138 typedef std::list<Cluster> ListOfClusters;
246 Cluster l; in partitionEigenvalues()
276 typename Cluster::iterator j; in findCluster()

123