我正在研究会员算法,我正在研究这个特殊问题,其中说明如下:
展示一种算法,给定任何常规语言L,确定L = L*
所以,我的第一个想法是,我们有L*是L的Kleene星并且确定L = L*,我们不能只是说因为L是常规的,我们知道L*是根据定义指出的常规语言系列在星光关闭下关闭.因此L总是等于L*?
我觉得肯定还有很多东西,可能还有我想念的东西.任何帮助,将不胜感激.再次感谢.
我正在创建一个小应用程序(电话簿),实际上我已经使用ms访问作为数据库创建了它,但现在,我正在学习XML并计划将其用作此应用程序的数据库(仅用于娱乐和教育目的) ).
这是我的访问数据库中的图表.

我创建了两个XML文件,其结构与两个访问表的结构相同.
ContactList表
<?xml version="1.0" standalone="yes"?>
<ContactList>
<xs:schema id="ContactList" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="ContactList" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Contact">
<xs:complexType>
<xs:sequence>
<xs:element name="ContactID" type="xs:int" minOccurs="0" />
<xs:element name="Name" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<Contact>
<ContactID>1</ContactID>
<Name>Peter</Name>
</Contact>
<Contact>
<ContactID>2</ContactID>
<Name>John</Name>
</Contact>
</ContactList>
Run Code Online (Sandbox Code Playgroud)
ContactNumbers表
<?xml version="1.0" standalone="yes"?>
<ContactNumbers>
<xs:schema id="ContactNumbers" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="ContactNumbers" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Numbers">
<xs:complexType>
<xs:sequence>
<xs:element name="ContactID" type="xs:int" minOccurs="0" />
<xs:element …Run Code Online (Sandbox Code Playgroud) 嗨我必须在listview中添加一个手势,我想实现联系人应用程序的相同功能.当我离开滑动它应该发送一条消息,右键滑动它应该打电话.任何人都可以帮助我如何做这些手势检测...我已经在各种其他视图中实现了...但我不能为listView做...我不知道什么去了...我的代码是`
/** Called when the activity is first created. */
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.main);
// Create an array of Strings, that will be put to our ListActivity
String[] names = new String[] { "Linux", "Windows7", "Eclipse", "Suse", "Ubuntu", "Solaris", "Android", "iPhone"};
// Create an ArrayAdapter, that will actually make the Strings above
// appear in the ListView
this.setListAdapter(new ArrayAdapter<String>(this, R.id.MyList, names));
gestureListener = new ListView.OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {
if (gestureDetector.onTouchEvent(event)) {
return …Run Code Online (Sandbox Code Playgroud) 我有两个web方法,我希望重载:
<WebMethod()> _
Public Function GetProject(ByVal id As Int32) As Project
<WebMethod(MessageName:="GetProjects")> _
Public Function GetProject(ByVal filter As String) As Projects
Run Code Online (Sandbox Code Playgroud)
我读到了使用MessageName重载,但是我无法让它工作.这可能吗?
好吧,我尝试查找>>或者移动意味着什么,但是这个网站解释了它:http://www.janeg.ca/scjp/oper/shift.html
那么有人可以解释它就像他们正在和一个孩子说话吗?
如何在rails网页上的ruby中嵌入bash提示符/终端?
如何从网页执行linux命令,并获取ommand的输出?
我目前正在创建一个使用Boost :: Serialization的概念,它需要实现自己的Boost :: Archive,因为数据必须以某种方式被序列化.
有关于在文档中实现自定义存档的文档:http: //www.boost.org/doc/libs/1_44_0/libs/serialization/doc/index.html
但我很好奇网上任何地方是否有其他(reallife)示例.我找不到任何东西.也许有人可以指点我的来源或文章.
我想将文件夹从" Frameworks" 重命名为" frameworks",但是git不会让我添加新的小写名称.我猜它会对文件名不区分大小写,是吗?
A git add frameworks/ -f没有帮助
我希望向客户发送一些组件.我想提供源代码的原因是:
1)我的班级是模板化的.客户可能使用任何模板参数,因此我无法预编译并发送.o文件.
2)客户可能对gcc使用不同的编译器版本而不是我的.所以我希望他在他的结尾做汇编.
现在,由于显而易见的原因,我无法透露我的源代码.我能做的最大化就是显示.h文件.任何想法我怎么可能实现这一点.我正在考虑gcc中的一些钩子,它们在编译之前支持解密等等.这可能吗?
简而言之,我希望他能够编译这段代码而无法窥视内部.
我可能有兴趣使用分层时间记忆模型来解决我正在研究的研究问题.
有没有任何开源库?虽然C++,Java或Haskell是首选,但我对语言非常开放.如果是的话,有没有人对他们有任何经验?
open-source artificial-intelligence nupic hierarchical-temporal-memory
c++ ×2
.net ×1
ajax ×1
algorithm ×1
android ×1
archive ×1
bit-shift ×1
boost ×1
c# ×1
flip ×1
gesture ×1
git ×1
hierarchical-temporal-memory ×1
java ×1
linq ×1
linux ×1
macos ×1
membership ×1
nupic ×1
open-source ×1
operators ×1
overloading ×1
ruby ×1
swipe ×1
web-services ×1
webmethod ×1
winforms ×1