Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am working on a graph, and I am using Mathematica function FindGraphCommunities to analyze the properties of this graph, but I have no idea about the algorithm used by Mathematica, and the documentation center is not clear enough. So I decide to look at the defintion of this function to better understand it. I have found a serialized package called "network"(\Mathematica\9.0\SystemFiles\Kernel\SystemResources\Windows\Network) containing files with the MX extension. I opened it with Import, but I can not read the files and the defintion of function.

My goal is to understand how this function is coded to improve my understanding of what I do with my graph.

Hope this is clear.

share|improve this question

closed as unclear what you're asking by Yves Klett, Michael E2, m_goldberg, gpap, bobthechemist Apr 9 at 11:41

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Please describe your goal in much more detail. At the moment it is unclear and difficult to answer. –  Yves Klett Apr 9 at 6:45
    
I use function of Social network in mathematica V9. I want to see more details of function that I use in order to understand. But the files are in .mx and not like other .m –  Dural Akata Apr 9 at 6:52
    
Please add anything relevant to your question above and ask yourself if you could answer it with absolute no previous knowledge to make sure others can do just that. –  Yves Klett Apr 9 at 6:55
1  
This is your best bet, not Import. Still, if you need to know what method FindGraphCommunities uses, the productive thing is to check the documentation first, then if it doesn't answer your question as Wolfram support. They usually provide references for the methods used. –  Szabolcs Apr 9 at 22:26
1  
To sum up: you cannot see the code in a way that will be useful to understand how to the function works. Look at the various methods it uses in the documentation and google them to understand how these methods work. –  Szabolcs Apr 9 at 22:33

1 Answer 1

MX files are not portable across different operating systems or even different Mathematica versions. This might be the problem in your case.

See first paragraph: https://reference.wolfram.com/mathematica/ref/format/MX.html

share|improve this answer
    
Excuse me for language. Andrew Cheong you are understand me. I want to investigate function on Network. For example I use FindGraphCommunities but I have not enough info on defintion of this function. I want to see the code to understand. –  Dural Akata Apr 9 at 8:18
    
@DuralAkata seems like your problem is that you cannot even import the .mx file, right? –  Yves Klett Apr 9 at 8:21
    
Hi Yves I manage in importing .mx(I change the repertory and I use Import []) but how I can read it or see details? –  Dural Akata Apr 9 at 8:28
    
But your question says you get an error message. You need to add detail to your question. Otherwise helping you is just guesswork. –  Yves Klett Apr 9 at 8:35
    
Yes but I resolve problem in changing repertory and import works now. I have imported for example GraphMeasures.MX (locate in :Mathematica\9.0\SystemFiles\Kernel\SystemResources\Windows\Network) after importing how i can see details like mathematica package file? –  Dural Akata Apr 9 at 8:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.