Skip to content

Commit

Permalink
Fixed Isomap data model and bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
lvdmaaten committed Nov 2, 2011
1 parent cc2cf09 commit af2aec6
Show file tree
Hide file tree
Showing 46 changed files with 247 additions and 54 deletions.
Binary file added DerivedData/Divvy/Index/Divvy.hmap
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,31 @@
Contents of /Users/laurens/divvy/Core/Divvy_Prefix.pch
3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
x86_64-apple-darwin11.2.0
-x
objective-c++
-arch
x86_64
-fmessage-length=0
-fdiagnostics-print-source-range-info
-fdiagnostics-show-category=id
-fdiagnostics-parseable-fixits
-fpascal-strings
-O0
-isysroot
/Developer/SDKs/MacOSX10.7.sdk
-fasm-blocks
-mmacosx-version-min=10.6
-gdwarf-2
-fvisibility-inlines-hidden
-DIBOutlet=__attribute__((iboutlet))
-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))
-DIBAction=void)__attribute__((ibaction)
-iquote
-iquote
-I/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug/include
-F/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug
-ferror-limit=10
-working-directory=/Users/laurens/divvy
-Xclang
-detailed-preprocessing-record
SDK_PRODUCT_BUILD_VERSION=11C63
Binary file not shown.
@@ -0,0 +1,28 @@
Contents of /Users/laurens/divvy/Core/Divvy_Prefix.pch
3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
x86_64-apple-darwin11.2.0
-x
c++
-arch
x86_64
-fmessage-length=0
-fdiagnostics-print-source-range-info
-fdiagnostics-show-category=id
-fdiagnostics-parseable-fixits
-fpascal-strings
-O0
-isysroot
/Developer/SDKs/MacOSX10.7.sdk
-fasm-blocks
-mmacosx-version-min=10.6
-gdwarf-2
-fvisibility-inlines-hidden
-iquote
-iquote
-I/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug/include
-F/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug
-ferror-limit=10
-working-directory=/Users/laurens/divvy
-Xclang
-detailed-preprocessing-record
SDK_PRODUCT_BUILD_VERSION=11C63
Binary file not shown.
@@ -0,0 +1,32 @@
Contents of /Users/laurens/divvy/Core/Divvy_Prefix.pch
3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
x86_64-apple-darwin11.2.0
-x
objective-c
-arch
x86_64
-fmessage-length=0
-fdiagnostics-print-source-range-info
-fdiagnostics-show-category=id
-fdiagnostics-parseable-fixits
-std=gnu99
-fpascal-strings
-O0
-isysroot
/Developer/SDKs/MacOSX10.7.sdk
-fasm-blocks
-mmacosx-version-min=10.6
-gdwarf-2
-fvisibility=hidden
-DIBOutlet=__attribute__((iboutlet))
-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))
-DIBAction=void)__attribute__((ibaction)
-iquote
-iquote
-I/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug/include
-F/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug
-ferror-limit=10
-working-directory=/Users/laurens/divvy
-Xclang
-detailed-preprocessing-record
SDK_PRODUCT_BUILD_VERSION=11C63
Binary file not shown.
@@ -0,0 +1,31 @@
Contents of /Users/laurens/divvy/Core/Divvy_Prefix.pch
3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
x86_64-apple-darwin11.2.0
-x
objective-c
-arch
x86_64
-fmessage-length=0
-fdiagnostics-print-source-range-info
-fdiagnostics-show-category=id
-fdiagnostics-parseable-fixits
-std=gnu99
-fpascal-strings
-O0
-isysroot
/Developer/SDKs/MacOSX10.7.sdk
-fasm-blocks
-mmacosx-version-min=10.6
-gdwarf-2
-DIBOutlet=__attribute__((iboutlet))
-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))
-DIBAction=void)__attribute__((ibaction)
-iquote
-iquote
-I/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug/include
-F/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug
-ferror-limit=10
-working-directory=/Users/laurens/divvy
-Xclang
-detailed-preprocessing-record
SDK_PRODUCT_BUILD_VERSION=11C63
Binary file not shown.
@@ -0,0 +1,28 @@
Contents of /Users/laurens/divvy/Core/Divvy_Prefix.pch
3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
x86_64-apple-darwin11.2.0
-x
c
-arch
x86_64
-fmessage-length=0
-fdiagnostics-print-source-range-info
-fdiagnostics-show-category=id
-fdiagnostics-parseable-fixits
-std=gnu99
-fpascal-strings
-O0
-isysroot
/Developer/SDKs/MacOSX10.7.sdk
-fasm-blocks
-mmacosx-version-min=10.6
-gdwarf-2
-iquote
-iquote
-I/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug/include
-F/Users/laurens/divvy/DerivedData/Divvy/Build/Products/Debug
-ferror-limit=10
-working-directory=/Users/laurens/divvy
-Xclang
-detailed-preprocessing-record
SDK_PRODUCT_BUILD_VERSION=11C63
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added DerivedData/Divvy/Logs/Debug/Cache.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added DerivedData/Divvy/Logs/Issues/Cache.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict/>
<dict>
<key>WorkspacePath</key>
<string>/Users/laurens/divvy/Divvy.xcodeproj</string>
</dict>
</plist>
32 changes: 30 additions & 2 deletions Divvy.xcodeproj/project.pbxproj
Expand Up @@ -26,6 +26,7 @@
0D86ADEE1428990F00877901 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D77DF783118636A2009C1946 /* Accelerate.framework */; };
0D86ADEF1428990F00877901 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D730D27713B5297E00E01F31 /* Cocoa.framework */; };
0D86AE011428BC5A00877901 /* DivvyIsomap.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0D86AE001428BC5A00877901 /* DivvyIsomap.xib */; };
0D8F0C111461ABBD007E3376 /* DivvyIsomap.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 0D8F0C0F1461ABBD007E3376 /* DivvyIsomap.xcdatamodeld */; };
0D9C419E13FD00D700E59675 /* tsne.c in Sources */ = {isa = PBXBuildFile; fileRef = 0D9C419D13FD00D700E59675 /* tsne.c */; };
0D9C41A113FD00E900E59675 /* DivvyTSNE.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D9C41A013FD00E900E59675 /* DivvyTSNE.m */; };
0D9C41A413FD00F800E59675 /* DivvyTSNEController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D9C41A313FD00F800E59675 /* DivvyTSNEController.m */; };
Expand Down Expand Up @@ -121,6 +122,13 @@
remoteGlobalIDString = 0D55DC5C13FA9FCA000ADAFB;
remoteInfo = DivvyPCA;
};
0DC7D5741461AB52001D57BF /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
proxyType = 1;
remoteGlobalIDString = 0D86ADE51428990F00877901;
remoteInfo = DivvyIsomap;
};
D704B6A913E088B1002692E9 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
Expand Down Expand Up @@ -227,10 +235,10 @@
0D86ADFA14289A7400877901 /* isomap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = isomap.h; sourceTree = "<group>"; };
0D86ADFB1428A47C00877901 /* dijkstra.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = dijkstra.cpp; sourceTree = "<group>"; };
0D86ADFD1428A4DD00877901 /* fibheap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fibheap.h; sourceTree = "<group>"; };
0D86ADFE1428BC1F00877901 /* DivvyIsomap.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = DivvyIsomap.xcdatamodel; sourceTree = "<group>"; };
0D86AE001428BC5A00877901 /* DivvyIsomap.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = DivvyIsomap.xib; sourceTree = "<group>"; };
0D86AE021428BEF600877901 /* DivvyIsomapController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DivvyIsomapController.h; sourceTree = "<group>"; };
0D86AE031428BEF600877901 /* DivvyIsomapController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DivvyIsomapController.m; sourceTree = "<group>"; };
0D8F0C101461ABBD007E3376 /* DivvyIsomap.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = DivvyIsomap.xcdatamodel; sourceTree = "<group>"; };
0D9C419113FD007100E59675 /* DivvyTSNE.plugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DivvyTSNE.plugin; sourceTree = BUILT_PRODUCTS_DIR; };
0D9C419213FD007100E59675 /* DivvyTSNE-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "DivvyTSNE-Info.plist"; sourceTree = "<group>"; };
0D9C419C13FD00D700E59675 /* tsne.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tsne.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -516,11 +524,11 @@
0D86AE021428BEF600877901 /* DivvyIsomapController.h */,
0D86AE031428BEF600877901 /* DivvyIsomapController.m */,
0D86ADF814289A4F00877901 /* isomap.cpp */,
0D8F0C0F1461ABBD007E3376 /* DivvyIsomap.xcdatamodeld */,
0D86ADFA14289A7400877901 /* isomap.h */,
D792E57B14292A4F0084626A /* DivvyIsomap.plist */,
0D86ADFB1428A47C00877901 /* dijkstra.cpp */,
0D86ADFD1428A4DD00877901 /* fibheap.h */,
0D86ADFE1428BC1F00877901 /* DivvyIsomap.xcdatamodel */,
0D86AE001428BC5A00877901 /* DivvyIsomap.xib */,
);
path = Isomap;
Expand Down Expand Up @@ -924,6 +932,7 @@
D7A24DA813F3225C001AD337 /* PBXTargetDependency */,
D7A24DAA13F3225C001AD337 /* PBXTargetDependency */,
0D55DCAD13FAA0D2000ADAFB /* PBXTargetDependency */,
0DC7D5751461AB52001D57BF /* PBXTargetDependency */,
D751AC9D13FD7E780089FAAE /* PBXTargetDependency */,
D7A250F81402F7E2001AD337 /* PBXTargetDependency */,
D792E59A14292C1E0084626A /* PBXTargetDependency */,
Expand Down Expand Up @@ -1238,6 +1247,7 @@
0D2312AB143B5E82009DD6DD /* isomap.h in Sources */,
0D2312AD143B5E82009DD6DD /* dijkstra.cpp in Sources */,
0D2312AE143B5E82009DD6DD /* fibheap.h in Sources */,
0D8F0C111461ABBD007E3376 /* DivvyIsomap.xcdatamodeld in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1362,6 +1372,11 @@
target = 0D55DC5C13FA9FCA000ADAFB /* DivvyPCA */;
targetProxy = 0D55DCAC13FAA0D2000ADAFB /* PBXContainerItemProxy */;
};
0DC7D5751461AB52001D57BF /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 0D86ADE51428990F00877901 /* DivvyIsomap */;
targetProxy = 0DC7D5741461AB52001D57BF /* PBXContainerItemProxy */;
};
D704B6AA13E088B1002692E9 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = D704B6A013E08871002692E9 /* DivvyScatterPlot */;
Expand Down Expand Up @@ -2142,6 +2157,19 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCVersionGroup section */
0D8F0C0F1461ABBD007E3376 /* DivvyIsomap.xcdatamodeld */ = {
isa = XCVersionGroup;
children = (
0D8F0C101461ABBD007E3376 /* DivvyIsomap.xcdatamodel */,
);
currentVersion = 0D8F0C101461ABBD007E3376 /* DivvyIsomap.xcdatamodel */;
path = DivvyIsomap.xcdatamodeld;
sourceTree = "<group>";
versionGroupType = wrapper.xcdatamodel;
};
/* End XCVersionGroup section */
};
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
}
8 changes: 5 additions & 3 deletions Plugins/Reducers/Isomap/DivvyIsomap.h
Expand Up @@ -6,15 +6,17 @@
// Copyright 2011 Delft University of Technology. All rights reserved.
//

#import <CoreData/CoreData.h>
#import <Cocoa/Cocoa.h>
#import "DivvyReducer.h"

@interface DivvyIsomap : NSManagedObject

@interface DivvyIsomap : NSManagedObject <DivvyReducer>

@property (nonatomic, retain) NSString *reducerID;
@property (nonatomic, retain) NSString *name;

@property (nonatomic, retain) NSNumber *k;
@property (nonatomic, retain) NSNumber *d;

@property (nonatomic, retain) NSNumber *k;

@end
6 changes: 6 additions & 0 deletions Plugins/Reducers/Isomap/DivvyIsomap.mm
Expand Up @@ -18,6 +18,8 @@ @implementation DivvyIsomap
@dynamic reducerID;
@dynamic name;

@dynamic d;

@dynamic k;


Expand All @@ -28,6 +30,10 @@ - (void) awakeFromInsert {
self.reducerID = [[NSProcessInfo processInfo] globallyUniqueString];
}

- (void) calculateD:(DivvyDataset *)dataset {
// Isomap always stays with its default of 2
}

- (void) reduceDataset:(DivvyDataset *)dataset
reducedData:(NSData *)reducedData {

Expand Down
@@ -1,4 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model name="DivvyIsomap" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="872" systemVersion="11C74" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
<elements/>
<model name="" userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="872" systemVersion="11C74" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
<entity name="Isomap" representedClassName="DivvyIsomap" syncable="YES">
<attribute name="d" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
<attribute name="k" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
<attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="reducerID" optional="YES" attributeType="String" syncable="YES"/>
</entity>
<configuration name="DivvyIsomap">
<memberEntity name="Isomap"/>
</configuration>
<elements>
<element name="Isomap" positionX="160" positionY="192" width="128" height="105"/>
</elements>
</model>

0 comments on commit af2aec6

Please sign in to comment.