Thanks!!
(Could I have figured this out by searching the ".h" files?)
Search found 71 matches
- Fri Oct 21, 2016 12:28 pm
- Forum: SMILE
- Topic: User Properties
- Replies: 3
- Views: 6750
- Fri Oct 21, 2016 3:07 am
- Forum: SMILE
- Topic: User Properties
- Replies: 3
- Views: 6750
User Properties
How does one set user properties in a node?
- Thu Oct 20, 2016 12:02 am
- Forum: SMILE
- Topic: Cloning a node
- Replies: 2
- Views: 5985
Re: Cloning a node
This is very cool.
I actually wanted to copy a node without the arcs.
Thanks for the post.
I actually wanted to copy a node without the arcs.
Thanks for the post.
- Tue Oct 18, 2016 1:29 am
- Forum: SMILE
- Topic: Cloning a node
- Replies: 2
- Views: 5985
Cloning a node
What's the best way to copy a node?
Under the Introduction to Some Simple Classes: General Copy Functions I read about the clone function. Is that the best way?
Under the Introduction to Some Simple Classes: General Copy Functions I read about the clone function. Is that the best way?
- Sat Oct 08, 2016 12:21 am
- Forum: SMILE
- Topic: Submodels in smile
- Replies: 3
- Views: 7251
Re: Submodels in smile
If I wanted to change the position of the submodel node would I do it this way?
(I tried this and it didn't appear to work.)
Code: Select all
net.GetSubmodelHandler().GetSubmodel(hSub)->windowpos.center_X = 100;
net.GetSubmodelHandler().GetSubmodel(hSub)->windowpos.center_Y = 100;
- Fri Oct 07, 2016 10:08 pm
- Forum: SMILE
- Topic: Creating a network from a CSV file
- Replies: 6
- Views: 8798
Re: Creating a network from a CSV file
Thanks for the pointers. Here's better code. (Some of this, I'll admit, is a bit clumsy . . . but it works.) // ImportFromCSV.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "smile.h" #include "smilearn.h" #include <fstream> #i...
- Thu Oct 06, 2016 6:12 pm
- Forum: GeNIe
- Topic: Can colours of bars in bar chart view of nodes be changed?
- Replies: 2
- Views: 3478
Re: Can colours of bars in bar chart view of nodes be changed?
I don't believe you can.
For what it's worth, I've submitted this as a suggestion.
For what it's worth, I've submitted this as a suggestion.
- Wed Oct 05, 2016 11:14 pm
- Forum: SMILE
- Topic: MakeValidId
- Replies: 1
- Views: 5391
MakeValidId
Does MakeValidID fix a character array in place?
I tried this and it aborted:
I tried this and it aborted:
Code: Select all
char * testID = "999 This is a test";
int status = theNet.Header().MakeValidId(testID);
- Wed Oct 05, 2016 9:14 pm
- Forum: SMILE
- Topic: Creating a network from a CSV file
- Replies: 6
- Views: 8798
Re: Creating a network from a CSV file
I'll give that a try.
Which include file do I need for DSL_dataset and DSL_datasetParseParams?
I'm including "smile.h" and they're undefined.
I tried including "dataset.h" but got linker errors.
Which include file do I need for DSL_dataset and DSL_datasetParseParams?
I'm including "smile.h" and they're undefined.
I tried including "dataset.h" but got linker errors.
- Tue Oct 04, 2016 10:56 pm
- Forum: SMILE
- Topic: Creating a network from a CSV file
- Replies: 6
- Views: 8798
Re: Creating a network from a CSV file
No I hadn't thought of using ReadFile. Let me look into that.
Where can I find documentation?
(I searched the .h files. Information there is sparse. The wiki doesn't appear to say much about using ReadFile to read CSV files.)
Where can I find documentation?
(I searched the .h files. Information there is sparse. The wiki doesn't appear to say much about using ReadFile to read CSV files.)
- Mon Oct 03, 2016 11:16 pm
- Forum: SMILE
- Topic: Creating a network from a CSV file
- Replies: 6
- Views: 8798
Creating a network from a CSV file
I wrote a program that reads a CSV file and creates nodes in a simple network. I need this for a project I'm working on. I'm not creating arcs yet. That will come soon. (I've attached a CSV file. You'll have to change the extension to "CSV". This form wouldn't let me attach it as a csv fil...